Session State
-
Hi all, I use Session to store my user object.
UserObj NewUsr = new UserObj (); if (NewUsr.LoginValidate (TextBox_ID.Text, TextBox_Password.Text)){ Session ["MM_UserObj"] = NewUsr; RedirectTo = "main.aspx"; }
At every page I do a check on this sessionif (Session ["MM_UserObj"] == null) { Response.Redirect("default.aspx"); return; }
This work find in my XP Professional... untill I move the entire web application to my Win2k Avd server... The session seem very fast to disappear (a after 1 or 2 pages). Any idea what is going on? Thanks. regards, vic -
Hi all, I use Session to store my user object.
UserObj NewUsr = new UserObj (); if (NewUsr.LoginValidate (TextBox_ID.Text, TextBox_Password.Text)){ Session ["MM_UserObj"] = NewUsr; RedirectTo = "main.aspx"; }
At every page I do a check on this sessionif (Session ["MM_UserObj"] == null) { Response.Redirect("default.aspx"); return; }
This work find in my XP Professional... untill I move the entire web application to my Win2k Avd server... The session seem very fast to disappear (a after 1 or 2 pages). Any idea what is going on? Thanks. regards, vic