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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
ali tuncerRank #1,499 · 1.1K reputationPosted Apr 10, 2016, 5:11 PM EDT
Check this link, it might help :
http://www.asp.net/web-forms/overview/getting-started/getting-started-with-aspnet-45-web-forms/shopping-cart
Amit Kumar SinghRank #562 · 4.3K reputationPosted Apr 10, 2016, 7:00 PM EDT
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;Amit KumarRank #459 · 5.4K reputationPosted Apr 10, 2016, 8:27 PM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Apr 10, 2016, 9:25 PM EDT
akshay chougule16 reputationPosted Apr 11, 2016, 11:01 AM EDT
...Thanks. .