|Platform SDK: IIS SDK|
[IIS 5.0] [IIS 5.1] [IIS 6.0]
The ScriptTimeout property specifies the maximum amount of time that a script can run before it is terminated.
The timeout will not take effect while a server component is processing.
Server.ScriptTimeout = NumSeconds
A default ScriptTimeout can be set for a Web service or Web server by using the AspScriptTimeout metabase property. The ScriptTimeout property cannot be set to a value less than that specified in the metabase. For example, if NumSeconds is set to 10, and the metabase setting contains the default value of 90 seconds, scripts will time out after 90 seconds. However, if NumSeconds were set to 100, the scripts would time out after 100 seconds.
For more information about using the metabase, see Using the IIS ADSI Provider.
The following example causes scripts to time out, if the server takes longer than 100 seconds to process them:
<% Server.ScriptTimeout = 100 %>
The following example retrieves the current value of the ScriptTimeout property and stores it in the variable TimeOut.
<% TimeOut = Server.ScriptTimeout %>
Platforms: Windows 2000 with IIS 5.0 installed, Windows XP
with IIS 5.1 installed, Windows Server 2003 family with IIS 6.0
|file: /Techref/language/asp/OBJ/ref_vbom_seropsct.htm, 3KB, , updated: 2005/9/20 17:20, local time: 2018/7/16 09:02,
|©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/language/asp/OBJ/ref_vbom_seropsct.htm"> Server.ScriptTimeout</A>
|Did you find what you needed?|
PICList 2018 contributors:
o List host: MIT, Site host massmind.org, Top posters @20180716 RussellMc, Van Horn, David, Sean Breheny, Isaac M. Bavaresco, David C Brown, Bob Blick, Neil, Denny Esterline, John Gardner, Brent Brown,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!