On Fri, Aug 12, 2011 at 12:06 AM, Brook Davies wrote: > I'm trying to set all my apps properties via a config file to make > deployment between dev, production servers easy. Problem is the application > vars that are read via onApplicationStart() are not available within the > opening part of the application.cfc and when I try to set these properties > inside onRequestStart() they do not work. Should I be able to set these in > onRequestsStart()?
We have moved those parts of the configuration required for code outside the methods in Application.cfc to the onServerStart() method of Server.cfc. That only works because we deploy one application per instance though. Jochem -- Jochem van Dieten http://jochem.vandieten.net/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346716 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

