View Single Post
  #2 (permalink)  
Old October 24th, 2007, 05:16 AM
weicco weicco is offline
Authorized User
 
Join Date: Sep 2007
Location: , , Finland.
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Session.Abandon()

If you need to store session values between old and new session, use Session.CopyTo().

Take notice that new session is created after Abandon() and it could end up using same session ID as the old one. You can override this by adding sessionState element to web.config and setting it's regenerateExpiredSessionId attribute to false.

Reply With Quote