Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is the difference between Session.Abandon and Session.Clear()?
#1
Session.Abandon() will end current session by firing Session_End and in the next request, Session_Start will be fire.
Session.Clear( ) just clears the session data without killing it. With session.clear variable is not removed from memory it just like giving value null to this session.
Session ID will remain same in both cases, as long as the browser is not closed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)