Udostępnij za pośrednictwem


AspScriptTimeout Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The AspScriptTimeout property specifies (in seconds) the default length of time that ASP pages allow a script to run before terminating the script and writing an event to the Windows Event Log. ASP script can override this value by using the ScriptTimeout property of the ASP built-in Session object. The ScriptTimeout property allows your ASP application to set a higher script timeout value. For example, you can use this setting to adjust the timeout once a particular user establishes a valid session by logging in or ordering a product.

Note

The minimum value for this property is one second.

Attribute Name Attribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_ASP_SCRIPTTIMEOUT

Attributes

INHERIT

Default Value

90

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

ASP_MD_UT_APP

ID

7006

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path IIS Admin Object Type

/LM/W3SVC/n/ROOT /LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

/LM/W3SVC/n

IIsWebServer

/LM/W3SVC

IIsWebService

/LM/W3SVC/n/ROOT/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.

AspSessionTimeout Metabase Property