session variables vanish
-
Hello folks, I have a problem using ASP.NET 2.0 on IIS 6. I use a self made login routine using session variables. An object is stored in Session["user"] for this purpose. While on a test system everything works fine, on the real server the session variable disapears. This can happen within seconds or a few minutes while clicking around on the web site. Can't say anything more spcific. Does anyone know what can cause this problem? Perhaps wrong server settings? If so, which? Thx Klaus
-
Hello folks, I have a problem using ASP.NET 2.0 on IIS 6. I use a self made login routine using session variables. An object is stored in Session["user"] for this purpose. While on a test system everything works fine, on the real server the session variable disapears. This can happen within seconds or a few minutes while clicking around on the web site. Can't say anything more spcific. Does anyone know what can cause this problem? Perhaps wrong server settings? If so, which? Thx Klaus
-
Nope, definitely not. It's a proper server (Not just web hosting or something like that). Any Ideas nonetheless? Why do you ask, did you experience similar problems? One difference between test and productivity server exists. On the "real" server there is a http-auth based password check. Thx for any help Klaus
-
Hello folks, I have a problem using ASP.NET 2.0 on IIS 6. I use a self made login routine using session variables. An object is stored in Session["user"] for this purpose. While on a test system everything works fine, on the real server the session variable disapears. This can happen within seconds or a few minutes while clicking around on the web site. Can't say anything more spcific. Does anyone know what can cause this problem? Perhaps wrong server settings? If so, which? Thx Klaus
Session variables does not disappear from a session by themselves. Write out the Session.SessionID value somewhere so that you can see if your session ends and you get a new one. If you don't get a new session, there is most likely something in your code that removes the session variables.
--- Year happy = new Year(2007);
-
Session variables does not disappear from a session by themselves. Write out the Session.SessionID value somewhere so that you can see if your session ends and you get a new one. If you don't get a new session, there is most likely something in your code that removes the session variables.
--- Year happy = new Year(2007);
-
Nope, definitely not. It's a proper server (Not just web hosting or something like that). Any Ideas nonetheless? Why do you ask, did you experience similar problems? One difference between test and productivity server exists. On the "real" server there is a http-auth based password check. Thx for any help Klaus