PRB: Session.Timeout Has a Maximum of 24 Hours (233477)
The information in this article applies to:
- Microsoft Active Server Pages
- Microsoft Internet Information Services version 6.0
- Microsoft Internet Information Server 5.0
- Microsoft Internet Information Server 4.0
This article was previously published under Q233477 SYMPTOMS Setting the value of the Session.Timeout property to greater than 24 hours (1440 minutes) produces the
following symptoms: If you set Session.Timeout in an ASP script or in the Global.asa file, you see the following
error messages: - SessionID error 'ASP 0164 :
80004005' Invalid TimeOut Value /MyAsp.asp, line 2 An invalid
TimeOut value was specified.
If you set the Script.Timeout value through either the Microsoft Management Console or directly
in the metabase entry AspSessionTimeout, your Session variables are no longer valid when referenced after 24 hours.
CAUSE The Session.TimeOut property has a maximum of 24 hours (1440 minutes). Sessions
variables are no longer valid past this time. RESOLUTION To work around this time limitation, you would pass values
from ASP page to ASP page either through QueryString parameters or as hidden FORM fields.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
175167
How to store state in Active
Server Pages applications
157906 How to
maintain state across pages with VBScript
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 8/3/2004 |
---|
Keywords: | kberrmsg kbprb KB233477 |
---|
|