Showing posts with label Session. Show all posts
Showing posts with label Session. Show all posts
4
Posted on 11:17 PM by prajeesh and filed under , ,
These three methods are used to clear session variables from the server,but the difference is
Session.Abandon includes Session.RemoveAll and also deletes the session id created for the session. So, subsequent request to .aspx page would create a new session with a new session id. Session.RemoveAll will remove all the user defined session variables but still keeps the session active.so if u want to end session you must use Session.Abandon().
Session.Clear() do the same job as Session.RemoveAll(). Shout it kick it on DotNetKicks.com