The ScriptTimeout property is the amount of runtime in seconds for a script before it terminates.
The ScriptTimeout property specifies the amount of runtime in seconds for a script before it terminates. The default value is 90 seconds.
<% Server.ScriptTimeout = 150 %>
The following code causes a script to timeout if the script takes more than 150 seconds to complete. The value of the ScriptTimeout property can be retrieved as well.