Open In App
Related Articles

ASP Server ScriptTimeout Property

Improve Article
Improve
Save Article
Save
Like Article
Like

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
Last Updated : 03 Mar, 2021
Like Article
Save Article
Similar Reads
Related Tutorials