[This is preliminary documentation and subject to change]

AspSessionTimeout

This property specifies the default amount of time in minutes a Session object will be maintained after the last request associated with the object is made. This can be overridden in script by using the Session.Timeout method.

note Note    AspSessionTimeout can be used to tune your ASP applications. Because Session objects consume some memory resources, limiting the lifetime of an individual Session with this property will make your applications more scalable.

The Web service setting for this property is applicable to all in-process and pooled out-of-process application nodes, at all levels. Metabase settings at the Web server level or lower will be ignored for in-process and pooled out-of-process applications. However, settings at the Web server level or lower will be used if that node is an isolated out-of-process application.

Attribute NameAttribute Value
Data TypeDWORD
AttributesINHERIT
Default Value10
MetaFlagsExCACHE_PROPERTY_MODIFIED
User TypeASP_MD_UT_APP
StartingNumber
EndingNumber0
ID7007

Access Locations

This property is accessible at the following locations:

Metabase PathIIS Admin Object Type
/LM/W3SVC/2IIsWebServer
/LM/W3SVC/Info/Templates/Public Web SiteIIsWebServer
/LM/W3SVC/Info/Templates/Secure Web SiteIIsWebServer
/LM/W3SVCIIsWebService
/LM/W3SVC/1/ROOTIIsWebVirtualDir
/LM/W3SVC/1/ROOT/_vti_binIIsWebVirtualDir
/LM/W3SVC/1/ROOT/IISAdminIIsWebVirtualDir
/LM/W3SVC/1/ROOT/IISHelpIIsWebVirtualDir
/LM/W3SVC/1/ROOT/MSADCIIsWebVirtualDir
/LM/W3SVC/1/ROOT/ScriptsIIsWebVirtualDir
/LM/W3SVC/2/ROOTIIsWebVirtualDir
/LM/W3SVC/2/ROOT/IISAdminIIsWebVirtualDir

IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier
MD_ASP_SESSIONTIMEOUT
Data typeDWORD
User typeASP_MD_UT_APP

Related Topics

Timeout
AspScriptTimeout

© 1997-2001 Microsoft Corporation. All rights reserved.