devxlogo

Extend the Timeout of an ASP

It is possible to set a default timeout value for your Web application via Internet Service Manager. However, there are occasions when an ASP might process longer than this default value. This could result from intensive file I/O, complex business rules including database access, automation of other Web pages, or if you FTP to other Websites. Rather than extending the timeout for your Web project, extend the timeout for this particular page by using Server.ScriptTimeout. Just put the following code at the top of your ASP:

 <% Server.ScriptTimeout  = 60 * 3 '3 minutes%>

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  Seven Service Boundary Mistakes That Create Technical Debt

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.