Description
Runs when you execute the tag cfabort.
Note: If showError attribute is specified in cfabort, onError method is executed instead of OnAbort. |
Note: When using cfabort, cflocation, or cfcontent tags, the OnAbort method is invoked instead on OnRequestEnd. |
Returns
Nothing
Syntax
<cffunction name="onAbort" returnType="boolean"> |
Parameters
Parameter |
Description |
---|---|
targetPage |
The path from the web root to the requested CFML page. |
Example
Application.cfc
<cfcomponent> |
Test.cfm
<cfabort> |