Uh...not as I understand it. CF looks for an Application.cfm in the current template's directory. If one isn't found it looks in the next higher directory and keeps moving up the directory tree until it finds an Application.cfm or reaches the root directory. It never runs more than one Application.cfm unless you do something like <cfinclude template="../Application.cfm"> in an Application.cfm file.
Note that CFMX7 will use Application.cfc if one is found and ignore Application.cfm. -----Original Message----- From: Munson, Jacob Sent: Monday, August 21, 2006 1:00 PM To: CF-Talk Subject: RE: CF Rules on including Application.cfm It is as simple as you stated. If you run a .cfm file, ColdFusion looks for an Application.cfm file in it's directory, and in the parent application's root directory. It will run both of those (assuming there is a lower level directory Application.cfm file) > -----Original Message----- > From: Robertson-Ravo, Neil (RX) > Sent: Monday, August 21, 2006 8:53 AM > > Does anyone know what the rules are for ColdFusion including > Application.cfm? I mean, it cannot be as simple as "you have > requested a ..cfm file, I am gonna look for an Application.cfm now" is > it? Does it look into headers etc? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250474 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4