> What you need is something like this protecting your
> initialization:

> <cfif structKeyExists(application, "initialized")>
> <cflock scope="application" type="exclusive" timeout="1">
> <cfif structKeyExists(application, "initialized")>
>   <!--- all app initialization --->
>   <cfset application.initialized = true />
> </cfif>
> </cflock>
> </cfif>

I think you may have inadvertently mangled the example... This example
code will never result in an initialized application, since it will
only execute if application.initalized has been set -- which won't
happen until it executes -- which only happens if
application.initialized is set -- which wont happen until ... oh
nevermind... :P

s. isaac dealey     954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/author/?id=4806
http://www.fusiontap.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198572
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to