ASP Server ScriptTimeout Property
Last Updated :
03 Mar, 2021
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
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...