Skip to main content
Inspiring
August 12, 2012
Answered

Is this how a request is processed?

  • August 12, 2012
  • 1 reply
  • 758 views

OK, from the first request made in an application, let's say we have the following things in our application.cfc:

ooML = Out of Method Logic (logic that is in the application.cfc, but not in any method)

oAS = onApplicationStart

oRS = onRequestStart

oR = onRequest

oRE = onRequestEnd

oCFCR = onCFCRequest

So, before the application starts, it goes like this, right?

ooML > oAS > oRS > oR > oRE

And then after the application starts, a non-CFC request goes:

ooML > oRS > oR > oRE

And if a CFC is requested, it goes:

ooML > oRS > oCFCR > oRE

Do I have this right?

    This topic has been closed for replies.
    Correct answer Aegis_Kleais

    You know what?  I withdrawl the question.

    This forum's simply too inactive when it comes to responses.  I'm sure I can find a more active CF forum on an unofficial website.

    Very cool styling though. 

    1 reply

    Aegis_KleaisAuthorCorrect answer
    Inspiring
    August 12, 2012

    You know what?  I withdrawl the question.

    This forum's simply too inactive when it comes to responses.  I'm sure I can find a more active CF forum on an unofficial website.

    Very cool styling though. 

    Inspiring
    August 12, 2012

    You shouldn't have marked this response as the answer because it doesn't answer the question.

    In regards to no-one answering your question in the two hours between you raising it and bleating about no-one paying attention to you... you are aware a) it's Sunday; b) the closing ceremony of the Olympics is on at the moment, right?  You don't think perhaps people might not have something better to do than answer questions on a CF forum?

    Back to the question:

    * you have forgotten about onSessionStart / onSessionEnd, which will play a part in the sequence of request processing.

    * it's all well documented here: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-606e.html

    --

    Adam

    Inspiring
    August 13, 2012

    Looked the entire forum over before making the realization.  There's a very high ratio of unanswered threads to posts made.  It simply means that for a more active ColdFusion discussion, I should look elsewhere, and that's why I'm doing.  Same thing happened on Sitepoint Forums.  ColdFusion had such low activity on it that they just merged it into some other thread.

    Think I'll stick to some books and tons of trial and error.  Thanks.