Application.cfc event methods order (order called in)

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


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

Advertisements

Entry filed under: ColdFusion. Tags: , , .

Quality Controlled Search Engine / Business Directory ColdFusion asynchronous calls (event gateway)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


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

Join 19 other followers

Archives

Top Rated

Blog Stats

  • 167,579 hits

%d bloggers like this: