The default server value for this attribute is 90 in seconds.CodeOutput this value:
Copy codeThe Code is as follows: <%
Response. Write server. scripttimeout
Response. Write "http: // www.jb51.net"
%>
Because the default scripttimeout value of IIS is 90 seconds (in fact, it is set in IIS metabase), we canProgramTo change the value:Copy codeThe Code is as follows: <% server. scripttimeout = 100%>
In this way, the maximum execution time of ASP programs is changed to 100 seconds. However, note that the scripttimeout value is greater than the default value of IIS, that is to say, if we set the value of scripttimeout in this way, <% server. scripttimeout = 60%> does not work, because the default value is 90, and the set value is only greater than 90. If it is smaller than 90, it will still take 90 seconds as the standard.
Of course, the default IIS 90 s can also be changed. For details, refer to how to modify IIS metabaseArticle.