Answer Posted / prajeesh
You can use
Session.Abandon();
Or
Session.RemoveAll();
or
Session.Clear();
But it is better to use Session.Abandon()
because it will removes associated session is also
http://prajeeshkk.blogspot.com/
http://dotnetbird.wordpress.com/
| Is This Answer Correct ? | 18 Yes | 6 No |
Post New Answer View All Answers
What are triggers of an updatepanel?
Can you explain how ASP.NET application life cycle and page life cycle events fire?
What is Partial PostBack in ASP.NET?
What is an example of an application service provider?
Explain the Order of events in an asp.net page?
What are the different types of cookies in asp.net?
How can we register exception filter from the action?
Explain how asp.net page works?
Explain server-side scripting?
What is the displayafter property in updateprogress control?
What is connection pooling and how to enable and disable connection pooling?
What is owin authentication?
What is skin in asp.net?
What is the main differences between asp and asp.net?
What is the extension of master page in asp.net?