What does <cfexit> do inside a function, inside a cfc?
Is it the same as <cfabort>?
I’m refactoring some legacy code, and wonder if I need to pay special attention to it…
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
My recollection of how a basic
<cfexit>behaves is:cfexitexits the cfc function. Butprocessing of the calling page continues.
Update:
I just confirmed that behavior under CF9.0.1
Results (using cfexit)
Results (using cfabort)
Test.cfm
Foo.cfc