An Analysis of the server. scripttimeout attribute in ASP

Source: Internet
Author: User
Tags metabase

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.