Live Chat Icon For mobile
Live Chat Icon

What is the difference between Session.Abandon() and Session.Clear()?

Platform: ASP.NET| Category: Session

The major difference is that if you call Session.Abandon(), Session_End will be fired (for InProc mode), and in the next request, Session_Start will be fired.
Session.Clear( ) just clears the session data without killing it.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.