Railo 4.2 Reference
Choose a tag:

Tag <CFEXIT>

Used to: Abort the processing of the currently executing CFML custom tag, exit the template within the currently executing CFML custom tag and reexecute a section of code within the currently executing CFML custom tag

Body

This tag can't have a body.

Example

	<cfexit
[method="string"]>
This tag is also supported within cfscript
	<cfscript>
exit [string expression];
</cfscript>

Attributes

The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
Name Type Required Description
method string No exittag: aborts processing of currently executing tag
exittemplate: exits page of currently executing tag
loop: reexecutes body of currently executing tag