ASP.NET increasing session timeout
Posted on 2011-10-06
I have a Wizard control that I am emulating a CreateUserWizard so I can customize the steps/creation of the account. I've found a short coming in this because I place the user info (user name, password details) in step 1 of 6 of my wizard so by the time the user is to step 6 to create their account I can't access the text ouf of the password box.
What I've done is placed it in a session variable like so:
then when I am ready to make the account I read it back in:
Dim _password$ = Session("ptxt").ToString()
My wizard is somewhat lengthy so the session is timing out from step to step 6. I've added this in my web.config:
doesn't seem to do anything. From what I understand that should be 9 hours.
so I also editted it in IIS7 which had set it to a default of 20 minutes to 10 hours. That doesn't seem to work either.
Is there somewhere else I should be altering this? Another way to store the password would be ok and preferrable actually. Any thoughts or idea would be much appreciatiated and thanks as always experts!!