ASP ScriptTimeout-eigenschap
Definitie en gebruik
De ScriptTimeout-eigenschap stelt in of retourneert het maximale aantal seconden dat een script kan draaien voordat het wordt afgebroken.
Syntax
Server.ScriptTimeout[=NumSeconds]
Parameters | Beschrijving |
---|---|
NumSeconds | The maximum number of seconds a script can run before it is terminated. The default is 90 seconds. |
Instance
Example 1
Set script timeout:
<% Server.ScriptTimeout=200 %>
Example 2
Retrieve the current value of the ScriptTimeout property:
<% response.write(Server.ScriptTimeout) %>