Chad,

No.. The root would not fire, but anything put in the "application" scope
(anything named application.this or application.that) would exist in both
scopes, and if you chose to overwrite application.something it would be
overwritten in both scopes.

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-----Original Message-----
From: Chad Gray [mailto:cg...@careyweb.com] 
Sent: Friday, April 17, 2009 11:24 AM
To: cf-talk
Subject: RE: multiple cfapplications


Ok.. makes sense.

What happens if someone has a bookmark to a sub folder "users" that has its
application.cfm page with the same application name as the Root
application.cfm file.

Does the root application.cfm fire at all?

Like if I have session.foo or application.foo defined in the Root
application.cfm.
 
Will those variable be set when a user hits the "users" folder
application.cfm?



> -----Original Message-----
> From: Ben Nadel [mailto:b...@bennadel.com]
> Sent: Friday, April 17, 2009 12:03 PM
> To: cf-talk
> Subject: Re: multiple cfapplications
> 
> 
> Chad,
> 
> Applications on the same box that have the same name *are* the same 
> application, as far as ColdFusion is concerned. It uses the 
> CFApplication tag (or Application.cfc THIS.Name property) to bind the 
> current page request to a defined memory space in ColdFusion 
> application server.
> 
> So, yes, if one app defined a variable and then a sub-folder with a 
> different CFApp tag with the *same* name is called, it will also have 
> access to that variable.
> 
> --
> Ben Nadel
> Adobe Community Expert
> Adobe Certified Advanced ColdFusion Developer Manager New York 
> ColdFusion User Group http://www.bennadel.com
> 
> Need ColdFusion Help?
> http://www.bennadel.com/Ask-Ben
> 
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:321756
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