Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Advanced
Apr 19, 2000

Changing the ScriptTimeout

The default setting for ScriptTimeout is 90 seconds. For IIS 3.0, it is located in the system registry where we can easily change it to another value. It is advisable to set it to a lower value, and control each script individually.

If the default is set to 90 seconds and we have this entry in our scripts:
 
<%Server.ScriptTimeout = 30 %>
It will not work because we cannot set a scripts timeout value to less than the ScriptTimeout setting. But, we can increase it.

To change the ScriptTimeout value, open registry editor, and search for:
 
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\ASP\Parameters\ 
and change the ScriptTimeout value as desired. With IIS 4.0/5.0, we have to use the Management Console to change the settings.
Maheshwar D
 
Comment and Contribute

 

 

 

 

 


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

 

 

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