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 is my content secured from unauthorized access?
How can you ensure a permanent cookie?
How to unit test Web API?
What is AutoEventWireup attribute for ?
What is syntax code to send email from an asp.net application?
Difference between web user control and web custom control?
Explain the difference between asp and asp.net?
How will you do Redo and Undo in a TextControl?
What does it mean your session has timed out?
What is the differences between a primary key and a unique key in sql server?
Define static function?
What are the types of caching in asp.net?
What are assemblies and namespaces and explain the difference between them ?
What is directive in asp net?
What is owin authentication?