Please Share Feedback


Questions, comments, suggestions? Let us know what you think on our Forum.

To contact us privately, please use our contact form.

Author: Elyse, PMP, CPHIMS
January 18, 2004


In ColdFusion there are several places that one can manipulate the requestTimeOut Setting.

First in the CF Administrator there is the Timeout Requests after (seconds). On a Default install of CF, this value is uncheck. The value stops poorly performing webpages. When enabled, it will cause the page to go to an error, saying timeout value reached.

If you do enable, Timeout Request. Sometimes there is a page or scheduled task that needs some time to run that goes beyound the default timeout request. To override that value, in the page itself you can set use the cfsetting tag.
<cfsetting RequestTimeout = "1800">
(The page will timeout in 30 minutes.)

In the scheduled task, you can set the timeout value for each scheduled task.

Subscribe and Share!

Did you enjoy this article? Your feedback is very important! I'd like to invite you to keep up to date with the latest posts from Anticlue. We offer several venues. If you have some questions, help can be found here.
 

3 Comments to “requestTimeOut”

I am getting an error when I type this
in my page, or in application.cfm

An unknown attribute 'RequestTimeout' has been encountered at document position (1:12) to (1:25) while processing tag CFSETTING. This tag can only take the following attributes:
CATCHEXCEPTIONSBYPATTERN
ENABLECFOUTPUTONLY
SHOWDEBUGOUTPUT

THis is because you are running on CF5 not CFMX

So, there's only one way to have a page-specific RequestTimeout setting in CF5?

If you don't want to do it site-wide in the administrator or app-wide in the application.cfm, you're forced to pass it in the URL?

I find it just amazing that CF didn't incorporate this until version 6. Then again we couldn't write our own functions until CF5.


« The Well-Managed Healthcare Organization Window NT Error 232 and 109 »

Please share your thoughts and suggestions