CFSETTING

CFSETTING is used to control various aspects of page processing, such as controlling the output of HTML code in your pages. One benefit of this option is managing whitespace that can occur in output pages that are served by ColdFusion.

Syntax

<CFSETTING ENABLECFOUTPUTONLY="Yes" or "No"
    SHOWDEBUGOUTPUT="Yes" or "No"
    CATCHEXCEPTIONBYPATTERN="Yes" or "No"
>
ENABLECFOUTPUTONLY

Required. Yes or No. When set to Yes, CFSETTING blocks output of all HTML that resides outside CFOUTPUT tags.

SHOWDEBUGOUTPUT

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.

CATCHEXCEPTIONSBYPATTERN

Optional. Yes or No. When set to Yes, it overrides ...

Get Sams Teach Yourself ColdFusion® in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.