devxlogo

Extend the Timeout of an ASP

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%>
See also  5 Tips to Manage a Remote Workforce
devxblackblue

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.

About Our Journalist