>From the LiveDocs (http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000696.htm)
Use this method for application initialization code; for example, use it to set Application scope variables, to determine whether a required data source or other resource is available, or to log the application start. You do not have to lock the Application scope if you set Application variables in this method, and you can reference Application scope variables as you normally do; for example, as Application.myVariable. Same goes for the session according to the docs. On 5/23/06, Michael Dinowitz <[EMAIL PROTECTED]> wrote: > I'm about to do some tests on application.cfc as it deals with the > onApplicationStart and onSessionStart. The question is, if the > application/session does not exist, does the method 'lock' and single thread > the request to it or can multiple requests cause the start methods to run if > they happen at the same time. In an application.cfm this is handled by doing > a check to see if an application variable exists, if not lock the application > and then check again. > If no one has solid data on this then I'll be testing it out and posting the > results here and on Blog of Fusion. > > Michael Dinowitz > Host: House of Fusion > http://www.houseoffusion.com > Publisher: Fusion Authority > http://www.fusionauthority.com > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241193 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

