linq delete code for session
Hello guys.i m devloping shopping cart website any body tell me plz what is code for remove items in view cart.from session?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
akshay chougulePosted Apr 11, 2016, 3:01 PM
...Thanks. .
Manas MohapatraPosted Apr 11, 2016, 1:25 AM
Amit KumarPosted Apr 11, 2016, 12:27 AM
Amit Kumar SinghPosted Apr 10, 2016, 11:00 PM
There is nothing like session container , so you can set it as null
but rather you can set individual session element as null or " "
like
Session["userid"] = null;ali tuncerPosted Apr 10, 2016, 9:11 PM
Check this link, it might help :
http://www.asp.net/web-forms/overview/getting-started/getting-started-with-aspnet-45-web-forms/shopping-cart