### 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 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.

Data type | Long
Default value | 20 minutes
Inheritance | Inheritable

###### Access Locations

This property is accessible at the following locations:

Metabase Path | Key Type
/LM/W3SVC | IIsWebService
/LM/W3SVC/N | IIsWebServer
/LM/W3SVC/N/ROOT | IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir | IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir/WebDirectory | IIsWebDirectory

###### 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 type | DWORD_METADATA
User type | ASP_MD_UT_APP

###### See also

Timeout, AspScriptTimeout

© 1997-2001 Microsoft Corporation. All rights reserved.