Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Web
Expertise: All
Oct 6, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

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%>
William Wen
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date