View comments | RSS feed
Contents > Developing ColdFusion MX Applications > Designing and Optimizing a ColdFusion Application > Mapping an application > Processing the Application.cfm and OnRequestEnd.cfm pages Processing the OnRequestEnd.cfm page PreviousNext

Processing the OnRequestEnd.cfm page

Just as the Application.cfm page runs before the code on an application page, an OnRequestEnd.cfm page runs, if it exists, after each application page in the same application.

The OnRequestEnd.cfm page must be in the same directory as the Application.cfm page ColdFusion uses for the current page. ColdFusion does not search beyond that directory, so it does not run an OnRequestEnd.cfm page that resides in another directory.

The OnRequestEnd.cfm page does not run if there is an error or an exception on the application page, or if the application page executes the cfabort or cfexit tag.

On UNIX systems, you must spell the OnRequestEnd.cfm file with the capital letters shown.


Contents > Developing ColdFusion MX Applications > Designing and Optimizing a ColdFusion Application > Mapping an application > Processing the Application.cfm and OnRequestEnd.cfm pages Processing the OnRequestEnd.cfm page PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

Comments


MaestroFJP said on Mar 25, 2004 at 5:31 PM :
FYI, the OnRequestEnd.cfm template will not execute if you run a CFLocation on the page as well - just as with CFAbort and CFExit.
Birjoo said on Aug 24, 2004 at 6:24 PM :
It would be helpful if an example of OnRequestEnd.cfm page is available here.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/appfra12.htm