Archive for February 1st, 2008
ColdFusion asynchronous calls (event gateway)
Do you have some methods that require lots of processing, but don’t want the customer to have to wait for the result?
Continue Reading 2 comments February 1, 2008
Application.cfc event methods order (order called in)
For anyone wanting to know in what order the methods in the application.cfc are called.
The methods in the Application.cfc are called in the following order when a request is made:
-
onApplicationStart (skips this method if called before, i.e. it’s only called once)
-
onSessionStart (skips this method if called before, i.e. it’s only called once)
-
onRequestStart
-
onRequestEnd
onApplicationEnd is triggered when the application times out
onSessionEnd is triggered when the session times out
onError is triggered when an error occurs
Add comment February 1, 2008