Contents

Return to Tags or Functions

cfexit

Syntax

<cfexit
	[method="string"]>

This tag is also supported within cfscript.

<cfscript>
  exit [string expression];
</cfscript>

[] = Optional attribute

Description

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.

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

category Categories: