M
Magnus
Hi,
I have an asp.net 2.0 application that worked on an old server, that broke
down.
Now I have put the application on another server and it workes almost the
same, but some session parameters seem to be forgotten.
My first page (default.aspx) has code as:
Session["PWD"] = TextBox3.Text;
Followed by a Response.Redirect("Default_SurP.aspx"); to my second page.
My second page then have previous and next buttons and navigates to itself
using
Response.Redirect("Default_SurP.aspx?Nav=Pre"); or
Response.Redirect("Default_SurP.aspx?Nav=Nxt");
It always read a database to check the password and loads data regarding to
values entered by the user in the same session (session id is saved in the
database). If the password is wrong I do a
Response.Redirect("default.aspx");
I can navigate using the Next and Previous buttons for about 45 seconds
before I suddenly get to the default.aspx page.
There seem like the password is "forgotten" but the session ID is
remembered, cause if then entering the password again I can navigate for
about 45 seconds more, and all values entered before is still there.
So is this a bug, a setting or something else?
Best regards
/Magnus
I have an asp.net 2.0 application that worked on an old server, that broke
down.
Now I have put the application on another server and it workes almost the
same, but some session parameters seem to be forgotten.
My first page (default.aspx) has code as:
Session["PWD"] = TextBox3.Text;
Followed by a Response.Redirect("Default_SurP.aspx"); to my second page.
My second page then have previous and next buttons and navigates to itself
using
Response.Redirect("Default_SurP.aspx?Nav=Pre"); or
Response.Redirect("Default_SurP.aspx?Nav=Nxt");
It always read a database to check the password and loads data regarding to
values entered by the user in the same session (session id is saved in the
database). If the password is wrong I do a
Response.Redirect("default.aspx");
I can navigate using the Next and Previous buttons for about 45 seconds
before I suddenly get to the default.aspx page.
There seem like the password is "forgotten" but the session ID is
remembered, cause if then entering the password again I can navigate for
about 45 seconds more, and all values entered before is still there.
So is this a bug, a setting or something else?
Best regards
/Magnus