General information
Title:
How do you increase session.timeout?
I have an asp application (written with VBScript). User fills in a form & then submits/saves it. The form is kinda long & I find that users like to take their time filling in the form (while they answer phone, drink coffee, etc.). Anyways, by the time they are ready to submit, all the session variables are lost. I figured the page has expired (?). I've read somewhere that I need to increase session.timeout (default=20 min?) in global.asa.
Here's what I have saved in a file called global.asa:
SCRIPT runat="server" language="vbscript"
SUB session_onStart
Session.Timeout=180
END SUB
SCRIPT
I thought it should work, increasing timeout to 180 min (3 hrs), but it didn't. Maybe I did not place the global.asa file where it should be?
Where should it be: the same directory as where my start page login.asp??
Thank you all!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only