I've ran into an interesting conundrum with an app. I am currently developing.

I've already deployed application.cfc and other files for the app. to my 
testing server, but now I need to go back and set some additional application 
scope vars inside my onApplicationStart function.

Ofcourse that function only fires at the very first "hit" for the application 
... so even though I can add the code I need in onApplicationSTart, it won't be 
executed when I hit the pages again.

I know I could restart the ColdFusion service and that would probably do the 
trick.  However I'm anticipating needing to do modify onApplicationStart 
several times during the course of development, and I would prefer to find a 
way to restart just this particular application.

Bear in mind, I am working in a development environment (not production), so 
this doesn't have to be a "best practice" or anything.

With that in mind, I'd appreciate any suggestions about how to go about 
restarting an individual application.  Is there some way I can explicitly call 
my onApplicationStart function, or some other built-in way to this?

Thanks!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276416
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to