[thelist] ASP - Session Variables set to never ever ever ever ever ever expire

Jay Blanchard jay.blanchard at niicommunications.com
Mon Feb 7 10:12:23 CST 2005


[snip]
I know I've talked to you about this ongoing for about a year now and no
matter what I do, I cannot keep session variables from dieing on IIS 5.
They
always expire after about 20 minutes. I have done:

* Response.Expires = -5000
* session.timeout=90     ' still expires in 20 minutes
* Gone to the server and set the expiration on variables to 1440 minutes
/
24 hours.

What else can I do so that ASP session variables never ever ever ever
ever
ever expire (within a reasonable time frame or as long as the clients
browser is open). 
[/snip]

If you are using ASP 2.n or better...
http://www.w3schools.com/asp/asp_sessions.asp

Session.Timeout=30 /* set to 30 minutes */


More information about the thelist mailing list