IF you have a base application.cfm file and you place empty application.cfm files in 
sub directories, it will hit those empty files
and your application will never load

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kay Smoljak
Sent: Wednesday, September 22, 2004 12:38 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: OnRequestEnd.cfm (was Re: Include application.cfm)

I've heard people recommend putting an empty Application.cfm file in a
directory to prevent CF wasting time wandering up the tree looking for
one, but as I understand it an OnRequestEnd template only gets
executed when found in the same directory as an Application.cfm
template, so there'd be no reason to have blank ones. Maybe the
previous developer either misunderstood that, or prehaps had code in
there at one point which was subsequently removed.

K.


On Wed, 22 Sep 2004 12:16:52 +1000, Mike Kear <[EMAIL PROTECTED]> wrote:
> I've seen a site where every directory had an OnRequestEnd.cfm
> template, most of them were empty.   Is there any point to that?  I
> couldn't really see why the previous developer had done it, since
> there wasn't any work being done by it.
> 
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> AFP Webworks
> http://afpwebworks.com
> .com,.net,.org domains from AUD$20/Year
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
> 



-- 
Kay Smoljak
http://kay.smoljak.com/

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to