ASP ScriptTimeout Attribute
Definition and Usage
The ScriptTimeout attribute sets or returns the maximum number of seconds a script can run before it is terminated.
Syntax
Server.ScriptTimeout[=NumSeconds]
Parameter | Description |
---|---|
NumSeconds | The maximum number of seconds a script can run before it is terminated. The default is 90 seconds. |
Instance
Example 1
Set the script timeout:
<% Server.ScriptTimeout=200 %>
Example 2
Retrieve the current value of the ScriptTimeout property:
<% response.write(Server.ScriptTimeout) %>