perlwhite
asked on
Session variable is reset in classic ASP
Hello,
Session.Timeout is set to 240. Script.Timeout is also set to very high. Both values are maintained (confirmed using response.write). However, one of the Session variables is set to blank after about 15 minutes or so. Are there any other configuration settings or variables that need to be looked at?
Thanks!
Session.Timeout is set to 240. Script.Timeout is also set to very high. Both values are maintained (confirmed using response.write). However, one of the Session variables is set to blank after about 15 minutes or so. Are there any other configuration settings or variables that need to be looked at?
Thanks!
ASKER
It is in a shared hosting environment. I don't have control over the IIS server.
Hmmm, do you have access to the application pool settings?
http://asp-net.vexedlogic.com/2012/05/23/aspasp-net-session-timeout-how-do-i-change-it/
You mentioned seeing the timeout property in the code, are you seeing it in the global.asa file as shown at the bottom of the page in the link above?
http://asp-net.vexedlogic.com/2012/05/23/aspasp-net-session-timeout-how-do-i-change-it/
You mentioned seeing the timeout property in the code, are you seeing it in the global.asa file as shown at the bottom of the page in the link above?
ASKER
I don't have access to Application Pool Settings. The site is on GoDaddy. The value is being set in the global.asa file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I will try the AJAX solution. Thanks.
The Ajax solution is indeed a valid suggestion as I have used it before in my own apps. As for GD bit supporting it in a shared environment, there were multiple questions on stackoverflow stating this, but I didn't want break EE guide lines by posting a link to it.
ASKER
The solution worked
http://technet.microsoft.com/en-us/library/cc725820(v=ws.10).aspx