ASP Server ScriptTimeout Property

The ASP Server ScriptTimeout Property is used for setting or returning the maximum time for the execution of the script before it terminates it. 

Syntax:

Server.ScriptTimeout[=NumSeconds] 

Parameter Values: 

  • NumSeconds: It defines the maximum number of seconds that a script can run before it terminates it.

Example: Below code, used to set and return the Script Timeout property. 

ASP




<%
<!-- Set -->
Server.ScriptTimeout=50
<!-- Return -->
Response.Write(Server.ScriptTimeout)
%>


Output:

50