ASP.NET resseting SessionID cookie when cookie expiration date is set
- by Sergej Andrejev
I have two pages: Default.aspx and WebForm1.aspx. One of these pages stores a session variable which works fine until I add code which ads expiration date to SessionID cookie.
What happens is:
Open default.aspx
Set-Cookie ASP.NET_SessionId=14jhsdfq23jkh13jkh12k1;
expires=Fri, 19-Mar-2010 07:31:47 GMT;
path=/
Click on link to open…