Can anyone think of any legitimate use of CFEXIT or CFABORT with a
CFFUNCTION? I can't: if the functions finishes normally use CFRETURN, if
abnormally use CFTHROW.

How about a circumstance where your error handler is a function, and after performing whatever task it is supposed to do it is then supposed to stop the process in its tracks before the OnRequestEnd.cfm fires. This would be normal operation, but cfreturn or cfthrow would not be appropriate, and it couldn't just "skip to the end" of the processing since OnRequestEnd.cfm would then fire. I think cfabort would be needed for this design.


--

        Ben Curtis
        WebSciences International
        http://www.websciences.org/
        v: (310) 478-6648
        f: (310) 235-2067




----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to