Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP ScriptTimeout Property

ASP ScriptTimeout Property


Server Object Reference Complete Server Object Reference Manual


The ScriptTimeout property sets or returns the maximum number of seconds a script can run before being terminated.

Syntax

Server.ScriptTimeout[=NumSeconds]

Parameters Description
NumSeconds The maximum number of seconds a script can run before being terminated. The default is 90 seconds.

Example

Example 1

Set the script timeout:

<%

Server.ScriptTimeout=200

%>

Example 2

Retrieve the current value of the ScriptTimeout property:

<%

response.write(Server.ScriptTimeout)

%>


Server Object Reference Complete Server Object Reference Manual