User Guide

cfsetting 397
cfsetting
Description
Controls aspects of page processing, such as the output of HTML code in pages.
Category
Page processing tags, Variable manipulation tags
Syntax
<cfsetting
enableCFoutputOnly = "yes" or "no"
showDebugOutput = "yes" or "no"
requestTimeOut = "value in seconds" >
See also
cfcache
, cfflush, cfheader, cfhtmlhead, cfinclude, cfprocessingdirective, cfsilent;
“Controlling debugging output with the cfsetting tag” in Chapter 18, “Debugging and
Troubleshooting Applications,” in ColdFusion MX Developer’s Guide
History
ColdFusion MX 6.1: Changed behavior: if the tag has a body, ColdFusion executes its contents.
ColdFusion MX:
Added the requestTimeOut attribute.
The catchExceptionsByPattern attribute is obsolete. It does not work, and causes an error,
in releases later than ColdFusion 5.
Changed exception handling: the structured exception manager searches for the best-fit
cfcatch handler. (In earlier releases, an exception was handled by the first cfcatch block that
could handle an exception of its type.)
Attributes
Attribute Req/Opt Default Description
enableCFoutputOnly Required Yes: blocks output of HTML that is outside
cfoutput tags.
No: displays HTML that is outside
cfoutput tags.
showDebugOutput Optional Yes Yes: if debugging is enabled in the Administrator,
displays debugging information.
No: suppresses debugging information that would
otherwise display at the end of the generated page.
requestTimeout Optional Integer; number of seconds. Time limit, after which
ColdFusion processes the page as an
unresponsive thread. Overrides the timeout set in
the ColdFusion Administrator.