Richard White wrote:
> basically i am confused as to how this works with 2 application.cfc's
>
> each one of the applications should be totally seperate but how does 
> coldfusion know which application.cfc to use and how come they dont conflict 
> with each other?

As the documentation discuss in great length with examples and pictures...

ColdFusion starts with the location of the file being request and looks 
in that directory for first an Application.cfc file and then an 
Application.cfm.  If it does not fine either of these in that directory 
it goes up to the parent directory and looks for first an 
Application.cfc and then an Application.cfm file.  It contiues this 
search up the directory tree until it finds either an Application.cfc 
file or an Application.cfm file or reaches the *file* root directory.  
Note this can be above the web root.

If your two applications are in separate and distinct directory 
structures and these directory trees have separate Application files 
then the applications will be independent.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321662
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to