January 18, 2004

requestTimeOut

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.

Posted by Elyse at January 18, 2004 1:47 PM | TrackBack
Comments

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

Posted by: Brian at January 21, 2005 3:32 PM

THis is because you are running on CF5 not CFMX

Posted by: Geoffrey Barth at March 16, 2005 3:27 PM

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.

Posted by: Joe Grossberg at April 14, 2005 5:32 PM
Post a comment









Remember personal info?