On 4/11/2014 12:58 PM, Donnie Carvajal wrote:
> Hi,
>
> I have an application with a root application.cfc and a subfolder for IVR 
> access that also has an application.cfc which extends the root 
> application.cfc.  There are certain Application variables that I only need in 
> the IVR subfolder, so I added an onApplicationStart method to the subfolder 
> application.cfc.  I'm running into an issue in my IVR access indicating that 
> the IVR specific variables are not available.  This is because the root 
> application.cfc ran before the sub and the onApplicationStart method in the 
> sub application.cfc did not.
>
> Would you suggest putting all application variables in the Root 
> onApplicationStart method or add a check in subfolder onRequest method for 
> variables and call subfolder onApplicationStart if missing?
>
> Any best practices I'm missing?
>
> Thanks,
>
> Donnie
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:358332
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to