4 Replies Latest reply on Jul 1, 2012 8:29 PM by itisdesign

    application.cfc example bug cflock scope session or application


      In the adobe coldfusion 10 documentation, on page: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c2 4-7d39.html#WSc3ff6d0ea77859461172e0811cbec0b63c-7ff1


      this page can be found by going to: www.adobe.com

      " Home / Developing ColdFusion 10 Applications / Developing CFML Applications / Designing and Optimizing a ColdFusion Application " Defining the application and its event handlers in Application.cfc


      ON this page, there is an example application.cfc After looking at the code, I am wondering if there is a typo/bug in the following code:

      ... ...

      Should it be:

      (A) cflock ... scope="SESSION" or

      (B) cflock ... scope="APPLICATION" ?


      If it is (A). then I am confused, can someone explain why?