please dont rip this site

ScriptTimeout

The ScriptTimeout property specifies the maximum amount of time a script can run before it is terminated.

The timeout will not take effect while a server component is processing.

Syntax

Server.ScriptTimeout = NumSeconds

Parameters

NumSeconds

Specifies the maximum number of seconds that a script can run before the server terminates it. The default value is 90 seconds.

Note The ScriptTimeout property cannot be set to a value less than that specified in the registry settings. For example, if NumSeconds is set to 10, and the registry 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 setting registry entries for ASP, see Configuring Registry Entries in the Active Server Pages Scripting Guide.

Example

The following example causes scripts to time out if the server takes longer than 30 seconds to process them.

<% Server.ScriptTimeout = 30 %>
 

The following example retrieves the current value of the ScriptTimeout property and stores it in the variable TimeOut.

<% TimeOut = Server.ScriptTimeout %>
 

Applies To

Server Object

See also:


© Microsoft Corporation. All rights reserved.


file: /Techref/language/asp/OBJ/introbj_32.htm, 2KB, , updated: 2001/9/28 14:12, local time: 2024/12/23 12:52,
TOP NEW HELP FIND: 
3.141.45.90:LOG IN

 ©2024 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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/techref/language/asp/OBJ/introbj_32.htm"> ScriptTimeout</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .