ASP ScriptTimeout Property


Server Object Reference 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)
%>

Server Object Reference Complete Server Object Reference

SHARE THIS PAGE

COLOR PICKER

colorpicker





Search w3schools.com:

Translate w3schools.com: