Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
| Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 24th, 2007, 02:13 AM
Authorized User
 
Join Date: Jun 2006
Location: , , .
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to reset the SessionID?

how to reset the SessionID?

 
Old October 24th, 2007, 04:16 AM
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.

 
Old October 24th, 2007, 06:49 AM
Authorized User
 
Join Date: Jun 2006
Location: , , .
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
RewriteRule / mod_jk / sessionid problem egod123 BOOK: Professional Apache Tomcat 1 December 13th, 2006 12:42 PM
session.sessionid same for all items sarah lee ASP.NET 1.0 and 1.1 Basics 1 October 31st, 2006 12:40 PM
SessionID changing between postbacks - C# wlangel Visual Studio 2005 1 September 20th, 2006 11:23 AM
ASP.NET SessionID Questions kwilliams ASP.NET 2.0 Basics 0 April 28th, 2006 02:32 PM
How to Generate my own SESSIONID anand_asv .NET Framework 2.0 0 March 2nd, 2005 10:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.