<CFEXIT> Tag - ColdFusion


>> Return to CF Tag List

The <CFEXIT> tag halts the processing of a custom tag without aborting the processing of the calling template. Basically, it leaves a sub-routine. This is different than <CFABORT> because <CFABORT> halts everything!



  <CFEXIT> Comments from Macromedia LiveDocsLiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p26.htm
In Tag summary table cfexit is listed as a 'flow-control' only type of tag.
When linked to cfexit, it appears primarily under 'Debugging tags' and secondarily under "flow-control tags"

LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p26.htm
The docs state that "If this tag is encountered outside the context of a custom tag [...] it executes in the same way as cfabort."
Using CFMX6.1, using cfexit inside an included file stops any further processing of that cfinclude, but the request continues.
This is *not* the same as cfabort. Or am i missing something?

Cheers
Bert



[Top]


Recommended Books

[Top]

Web Sites

[Top]

Copyright © 2003- 2008, Orville Paul Chomer, All Rights Reserved