OnRequestEnd.cfm
Much like the Application.cfm gets called at the start of every request, the OnRequestEnd.cfm is called when a template is finished executing.
This is a standard template that has no special formatting except it must be named observing the case. For example onrequestend.cfm is not the same.
The only difference with this special file, is that the engine will not transverse up the directory tree looking for it. It must reside in the same directory as the template that was called for it to be triggered.
This template will produce output, so any processing you do, will send data to the client as part of the request. The client will not see the difference and merely treat it as part of the original request. If you do not wish this, then simply wrap this template with a CFSILENT tag.