wow - I never knew that... I've just tested it and tthat does appear to be
the case...
-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: 09 January 2001 15:09
To: CF-Talk
Subject: RE: CPU 100% (again, sorry) - with screen shot and theory :)
> > Actually it looks for onrequestend.cfm wherever it finds
> > application.cfm. It will not keep looking past the directory
> > where it finds application.cfm for onrequestend.cfm.
> >
> > I don't know what happens if it finds onrequestend.cfm before
> > it finds application.cfm ....
>
> you sure on that???
>
> I often use onrequestend in places where I dont use application.cfm -
> primarily for debugging...
I'm sure on that.
If you use an onrequestend.cfm in a directory which doesn't have an
Application.cfm, the onrequestend.cfm will be ignored. It doesn't matter
whether an upward search of the directory tree would find onrequestend.cfm
first, or Application.cfm. Either way, CF only looks for onrequestend.cfm in
the same directory in which it found Application.cfm.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists