Posts tagged ‘order called in’

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:

  1. onApplicationStart (skips this method if called before, i.e. it’s only called once)
  2. onSessionStart (skips this method if called before, i.e. it’s only called once)
  3. onRequestStart
  4. onRequestEnd

onApplicationEnd is triggered when the application times out

onSessionEnd is triggered when the session times out

onError is triggered when an error occurs

February 1, 2008 at 12:02 am Leave a comment


Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 22 other subscribers

Archives

Top Rated

Top Clicks

  • None

Blog Stats

  • 176,297 hits