Friday, January 13, 2012

CF: When does OnRequestEnd get executed

This is one is from my main man Kip (@kipthegreat) he ran through this exercise using Adoce CF 9.
Might be helpful for others to know.


Situation
Does OnRequestEnd() get executed?
Page calls <cfabort> tag
Yes
Page calls to redirect user
Yes
Page calls with abort="true"
Yes
Request exceeds timeout
NO
Uncaught exception
NO


The lesson to pay attention to is to catch and handle your exceptions ;o)

 Cheers,
-B


No comments: