to simply lock certain folders down.. I can easily use the
onRequestStart() and their session.user.getSecurityLevel() to see if
they have access to any files in the folders or subfolders or sub sub
sub sub folders, etc...

On Thu, Jan 20, 2011 at 10:29 AM, Rick Faircloth
<[email protected]> wrote:
>
> What is the purpose of having "child" application.cfc's?
> (at least in this instance...)
>
> Is that part of a method for building a single code base
> to service multiple sites/applications?
>
> -----Original Message-----
> From: Scott Stewart [mailto:[email protected]]
> Sent: Thursday, January 20, 2011 10:58 AM
> To: cf-talk
> Subject: Re: multiple Application.cfcs
>
>
> 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:341046
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to