Session parameter lost memory

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
 
M

Magnus

Well, after a few weeks I solved it myself. I added a new application pool
to my project.
/Magnus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,102
Messages
2,570,646
Members
47,247
Latest member
GabrieleL2

Latest Threads

Top