The ScriptTimeout property specifies the maximum amount of time a script can run before it is terminated.
The timeout will not take effect while a server component is processing.
Syntax
Server.ScriptTimeout = NumSeconds
Parameters
Example
The following example causes scripts to timeout if the server takes longer than 30 seconds to process them.
<% Server.ScriptTimeout = 30 %>
The following example retrieves the current value of the ScriptTimeout property and stores it in the variable TimeOut.
<% TimeOut = Server.ScriptTimeout %>
Applies To