cfsetting
Controls aspects of page processing, such as the output of content outside cfoutput tags.
<cfsetting enablecfoutputonly=true|false>
setting enablecfoutputonly=true|false;
Attribute Reference
enablecfoutputonly boolean
Default: false
false
showdebugoutput boolean
Default: true
true
true: If debugging is enabled in the Administrator, displays debugging information false: suppresses debugging information that would otherwise display at end of generated page.
Values:
truefalse
requesttimeout numeric
Integer; number of seconds. Time limit, after which CFML processes the page as an unresponsive thread. Overrides the timeout set in the CFML Administrator.
Compatibility
ColdFusion:
Version 3+ CF10: Added the script syntax: setting.
BoxLang:
Version 1.0.0+
<bx:setting> in BoxLang Examples Sample code using the cfsetting tag
Enable cfoutput only
setting enablecfoutputonly=true; Disables debug output
setting showdebugoutput=false; Set the request timeout to 30 seconds
setting requesttimeout=30; Enable cfoutput only
<cfsetting enablecfoutputonly="true">
Foo <cfoutput>bar</cfoutput> Expected Result: bar
Disables debug output
<cfsetting showdebugoutput="false"> Set the request timeout to 30 seconds
<cfsetting requesttimeout="30">
© 2012–present Foundeo, Inc. and the CFDocs contributors.
Licensed under the MIT License.
ColdFusion is a trademark of Adobe Systems Incorporated.
https://cfdocs.org/cfsetting