CFABORT

The CFABORT tag stops processing of a template at the tag location. Cold Fusion simply returns everything that was processed before the CFABORT tag. CFABORT is often used with conditional logic to stop processing a template because of a particular condition. The CFABORT tag has no attributes.

Example

<P>This HTML is returned to in the final page</P>
<CFABORT>
<P>This HTML is NOT returned in the final page</P>