how to kill a default session in asp.net
how to kill a default session in asp.net
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.
Shivanand ArurPosted Sep 14, 2012, 1:25 AM
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