Showing posts with label Session. Show all posts
Showing posts with label Session. Show all posts

Monday, 11 April 2011

How clear the session in asp.net

Remove the all keys and values from session state collection

Session.Clear();

how to kill an asp.net session for logout page??

Session.Abandon() method destroys all the objects stores in the
Session object and releases its resources.Cancel the Current Http Session

 Session.Abandon();