p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   C# (http://p2p.wrox.com/c-22/)
-   -   how to reset the SessionID? (http://p2p.wrox.com/c/63175-how-reset-sessionid.html)

akkad October 24th, 2007 03:13 AM

how to reset the SessionID?
 
how to reset the SessionID?


weicco October 24th, 2007 05:16 AM

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.


akkad October 24th, 2007 07:49 AM

what is the equivalent behavior for regenerateExpiredSessionId in .Net Framework v1.1 cuz am not using v2 ???



All times are GMT -4. The time now is 05:16 AM.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.