If the purpose is code reuse, another possibility might be putting all
logic into templates or other cfc. Then have both application.cfc call the
required functionality through includes or method calls. Somewhat like a
shared library.

Byron Mann
Lead Engineer & Architect
HostMySite.com
On Nov 25, 2013 1:31 PM, "Eric Roberts" <ow...@threeravensconsulting.com>
wrote:

>
> Here's the background...
>
> We have all of our requests going through the index.cfm in the root and
> depending on variable values, they get directed, via cfincludes, to
> subfolders.
>
> My question is how do I get the application.cfc in the subfolder to run?
>  The application.cfc in the root is getting run, but it appears that the
> one in the subfolder is not.  Each sub-folder contains a separate
> application with a unique name and the application.cfc has application
> specific variables in it.  The application.cfc in the subfolder is set to
> extend the one in the root.
>
> Eric
>
> 

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

Reply via email to