The server default value for this property is 90, in seconds, and we can output this value through this code:
Copy Code code as follows:
<%
Response.Write Server.ScriptTimeout
Response.Write "Http://www.jb51.net"
%>
Because the default ScriptTimeout value for IIS is 90 seconds (actually set in IIS metabase), we can change this value in our program:
Copy Code code as follows:
<%Server.ScriptTimeOut=100%>
This will be the ASP program to perform the maximum time to 100 seconds, but here is one thing to note, is set the ScriptTimeout value, than the default setting of IIS, which means that if we set the value of ScriptTimeout, <% Server.scripttimeout=60%> will not work, because the default value is 90, the set value can only be larger than 90 if 90 small, then still 90 seconds.
Of course, IIS default 90 seconds can also be changed, specific reference to how to modify the IIS metabase related articles.