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