<cfsetting>

Controls various aspects of page processing, such as the output of HTML code in pages.

One benefit of this option is managing whitespace that can occur in output pages served by CFML.

This tag may have a body.

This tag is also supported within <cfscript>

<cfsetting enablecfoutputonly=any info=string listen=boolean showdebugoutput=boolean showdebug=boolean showdoc=boolean showmetric=boolean requesttimeout=number ><!--- body --->[</cfsetting>]
Attribute Description
enablecfoutputonly
any, optional

Yes or No.

When set to Yes, cfsetting blocks output of HTML that resides outside cfoutput tags.

info
string, optional

name of variable created for all information for this tag.

Introduced: 5.3.4.22

listen
boolean, optional

do log all action, so it can report more detail with info.

Introduced: 5.3.4.22

showdebug
boolean, optional

Yes or No. When set to No, showDebug suppresses debugging information that would otherwise display at the end of the generated page.

Introduced: 6.1.0.155

showdoc
boolean, optional

Yes or No. When set to No, showDoc suppresses documentation/reference information that would otherwise display at the end of the generated page.

Introduced: 6.1.0.155

showmetric
boolean, optional

Yes or No. When set to No, showMetric suppresses metric information that would otherwise display at the end of the generated page.

Introduced: 6.1.0.155

requesttimeout
number, optional

Number of seconds. Time limit, after which CFML processes the page as an unresponsive thread.

Overrides the timeout set in the Lucee Administrator.

If one specifies a requesttimeout of 0, the request will not time out.

Unimplemented Attribute(s)

Attribute Description
showdebugoutput
boolean, optional

Yes or No.

When set to No, showDebugOutput suppresses debugging information that would otherwise display at the end of the generated page.

Default is Yes.

* deprecated *

Examples

<cfsetting enablecfoutputonly="true">
<cfset a = "Save">
<cfset b = "Tree">
<cfset c = a & b >
Save Water <cfoutput>#c#</cfoutput>

See also