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
How many types of cache are there?
Difference between using directive vs using statement?
what is command line compiler.what are the steps and how it is related to debugging.
Can you explain the basic use of dataview?
what are the Custom controls in asp.net?
What is the benefit of WebAPI over WCF?
What are the three parts of an http response?
Explain Areas in MVC?
Disable Mouse right click on web page in asp.net?
How many types cache in asp net?
Explain the difference between asp & asp.net.
What is _viewstart?
What is considered a service provider?
What is the significance of finalize method in .net?
What is session id in web application?