how to reset SessionID
-
How do we reset the sessionid,when we click on file --> new window or CNTRL + N existing sessionid is being used. Is it possible to issue a new sessionid to the browser in that case ? i tried resetting the sessionid cookie but nothing happened Session.Abandon(); Response.Cookies.Add(new HttpCookie("ASP.NET_SessionId", "")); Even after resetting consecutive postbacks still have the other windows sessionid. :((
-
How do we reset the sessionid,when we click on file --> new window or CNTRL + N existing sessionid is being used. Is it possible to issue a new sessionid to the browser in that case ? i tried resetting the sessionid cookie but nothing happened Session.Abandon(); Response.Cookies.Add(new HttpCookie("ASP.NET_SessionId", "")); Even after resetting consecutive postbacks still have the other windows sessionid. :((
This is getting asked constantly. I don't believe there is a solution.
Christian Graus Driven to the arms of OSX by Vista.
-
How do we reset the sessionid,when we click on file --> new window or CNTRL + N existing sessionid is being used. Is it possible to issue a new sessionid to the browser in that case ? i tried resetting the sessionid cookie but nothing happened Session.Abandon(); Response.Cookies.Add(new HttpCookie("ASP.NET_SessionId", "")); Even after resetting consecutive postbacks still have the other windows sessionid. :((
Member 2437558 wrote:
How do we reset the sessionid,when we click on file --> new window or CNTRL + N
The window is opened in the same session, so it should have the same session id. If you have any data that is page specific, you should not store it in session state, you should make it follow the page.
Despite everything, the person most likely to be fooling you next is yourself.