Yes, the first one reached is the one read... So you can't have an application.cfm be an appendix to another application.cfm...
If that is the case, you need to have a common include setup so that in the child folder you can say <cfinclude template="..\commonfile.cfm"> if you like.
As for onrequestend.cfm, it is processed only in the folder that application.cfm is found, so you can't have onrequestend.cfm in a folder in the tree and expect it to be read if ther eis no application.cfm in that same folder.
Onrequestend.cfm works in the same way as application.cfm, only it is appended as the footer to every document... this a good place to put a counter script or a layout footer.
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
well, what I was hoping to do was have two different levels of logged in protection. It would have been quicker as I "inherited" this web site. I'll make a new application.cfm and deal with it there. Thanks so much for answering.
Also, if you "name" your application.cfm the same thing in your cfapplication tag, you can pass info back and forth between the two. (Like Session stuff, for example)
Hope This Helps!
Ecobb
Beer Consumption Analyst
"My work is a game, a very serious game." - M.C. Escher
want to know what's fun?
using two application.cfm files but one is in a virtual. you can't add the application name because you'll have multiple sites with the same app name, a big no-can-do. i had to actually include an application.cfm file from another application.cfm file.
Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. -Douglas Adams (1952-2001)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.