Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
Session breaking on redirect
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Hrvoje Vrbanc, post: 3470080"] Hello all, I have recently encountered a very strange problem: on every redirect from a codebehind page, sessions break. A varible is correctly stored in a session on a page and then, when a redirect occurs (on the click of the button, for example), the session is immediately empty when a new page loads. I'm aware of all the situations when session gets reset and none of it is the case here (timeout, app pool recycle, app recompiling, etc.). It happens in let's say 9 out of 10 cases, so not every time, adding more confusion. The environment is ASP.NET 1.1, sessions are stored InProc, timeout is 5 hours, there's a MS CMS 2002 installation there, but the same thing happens on the CMS site and on the other sites on the same machine that are indepedent from CMS. It worked OK for years and the the problem suddenly started occuring. What could be the cause? Thank you in advance, Hrvoje [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
Session breaking on redirect
Top