I'd agree with Steve's advice with this caveat.. You can extend a parent Application.cfc with a child Application.cfc and access the parent methods through the super. class. if you can do it all in one Application.cfc then do it.. if it makes maintenance easier or provides a significant performance increase to use a secondary Application.cfc in a subdirectory then do so.
On Thu, Jan 20, 2011 at 10:50 AM, Steve Milburn <[email protected]> wrote: > > Greg > > I would advise against using multiple application.cfc within the same site. > You're best approach may be to define a single application.cfc at the root > of your site, and use that single application.cfc to check if a user is > attempting to access a protected folder and take appropriate action. > > Steve > > > On Wed, Jan 19, 2011 at 10:26 PM, Greg Morphis <[email protected]> wrote: > >> >> so I've got a site with a few Application.cfc (basically I want to >> lock down some folders). >> If everyone has to log in to hit the admin/Application.cfc does that >> cfc need the onApplicationStart method or even onSessionStat methods? >> And it shouldn't need the application variables either correct? >> Am I on the right track of thought? >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:341040 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

