|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
2 OnRequestEnd files
Hello all,Doug James 05/17/04 03:35 P Do you have a <cfinclude template="../OnRequestEnd.cfm" /> in your approot'sBarney Boisvert 05/17/04 04:10 P Thank you, Barney!Doug James 05/17/04 04:28 P check outDouglas.Knudsen 05/17/04 04:30 P Hello all, I have an application residing in a subdirectory of my web root. Inside the application subdirectory I have my Application.cfm and OnRequestEnd.cfm files; my web root contains both files as well. As far as I can tell the webroot/Application.cfm is not processed (as I expect). But the webroot/OnRequestEnd.cfm is processed then my application/OnRequestEnd.cfm is processed, I thought that CFMX was only supposed to process my application/OnRequestEnd.cfm and then stop. Processing steps (as I can determine) 1. application/Application.cfm 2. application code 3. webroot/OnRequestEnd.cfm 4. application/OnRequestEnd.cfm Can someone please explain this to me or am I overlooking something plain and simple? Thanks! Doug Do you have a <cfinclude template="../OnRequestEnd.cfm" /> in your approot's OnRequestEnd.cfm to chain them together? OnRequestEnd.cfm should only be processed for the directory that contains Application.cfm. There isn't a directory tree parse for OnRequestEnd.cfm, it uses the one that was performed for Application.cfm. ----- Excess quoted text cut - see Original Post for more ----- Thank you, Barney! I knew it was something so plain and simple. Right before my eyes and I did not see it, my wife would roll her eyes if she knew. Thanks again. Doug Barney Boisvert wrote: ----- Excess quoted text cut - see Original Post for more ----- check out http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/appfra11.htm Doug Hello all, I have an application residing in a subdirectory of my web root. Inside the application subdirectory I have my Application.cfm and OnRequestEnd.cfm files; my web root contains both files as well. As far as I can tell the webroot/Application.cfm is not processed (as I expect). But the webroot/OnRequestEnd.cfm is processed then my application/OnRequestEnd.cfm is processed, I thought that CFMX was only supposed to process my application/OnRequestEnd.cfm and then stop. Processing steps (as I can determine) 1. application/Application.cfm 2. application code 3. webroot/OnRequestEnd.cfm 4. application/OnRequestEnd.cfm Can someone please explain this to me or am I overlooking something plain and simple? Thanks! Doug _____
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||