How to kill a default session in asp.net
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
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
Shivanand ArurRank #920 · 2.3K reputationPosted Sep 13, 2012, 9:25 PM EDT
To kill a session you can use -
Session.Abandon(); // It cancels or kills the current session
Session.Clear(); // It removes all the keys and values from the Session State // Collection