Tutorials References Menu

ASP ScriptTimeout Property


❮ Complete Server Object Reference

The ScriptTimeout property 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 the server terminates it. Default is 90 seconds

Examples

Example 1

Set the script timeout:

<%
Server.ScriptTimeout=200
%>

Example 2

Retrieve the current value of the ScriptTimeout property:

<%
Response.Write(Server.ScriptTimeout)
%>

❮ Complete Server Object Reference