OnRequestEnd.cfm is used in conjunction with Application.cfm – if present it is automatically processed after your code (Application.cfm is processed before your code). Like Application.cfm, this file can be in the current directory or any directory above it, but there is a big difference in how these two files are located. When looking for Application.cfm ColdFusion walks up the directory tree until the file is found. An OnRequestEnd.cfm file will only be processed if one exists in the same directory as the Application.cfm that was used – ColdFusion will not look for it independently. (Applies to: ColdFusion 4 (or later))

Leave a Reply