Last post Dec 15, 2010 02:15 PM by sachingusain
Dec 15, 2010 03:34 AM|chanmy8|LINK
I would like to change ASP.NET session cookie name "ASP.NET_Sessionid" to some other name. I specified <sessionState cookieName="MyCookieName" />. When I use fiddler to view response header, I can see "MyCookieName" with random generated number under cookie
section, however, ASP.NET_SessionId also exist there.
Dec 15, 2010 06:12 AM|ignatandrei|LINK
And if you clear the cookies, still remains at next visit? Usually browsers do not clear the cookies...
Dec 15, 2010 02:15 PM|sachingusain|LINK
Try clearing all cookies first from browser and then try.This is happening because ASP.NET_SessionId and MyCookieName are both originating from same server and browser is returning them all.
If you will kill/delete previous cookies then you would not see ASP.NET_SessionId one.