Posted: 9/29/2010
Hi,
I just noticed that there are two methods Session.Clear and Session.End. Can you please tell me the difference between them ?
Session.Clear -It will clear the data present in session , session will still remain alive.
Session.Abandon - Cancels the session
peter-smith said: user="peter smith"]I just noticed that there are two methods Session.Clear and Session.End. Can you please tell me the difference between them ?
user="peter smith"]I just noticed that there are two methods Session.Clear and Session.End. Can you please tell me the difference between them ?
Perhaps you are referring to the difference between Session.Clear() and Session.Abandon(). As already stated by Raghav Session.Clear() will simply clears out the data in Session but it doesn't mean the Session will be killed. Session_End is an event in which it fires when: