H
Hrvoje Vrbanc
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
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