User Guide

cfheader 209
Usage
If you use this tag after the cfflush tag on a page, an error is thrown.
Example
<h3>cfheader Example</h3>
<p>cfheader generates custom HTTP response headers to return to the client.
<p>This example forces browser client to purge its cache of requested file.
<cfheader name="Expires" value="#GetHttpTimeString(Now())#">
statusCode Required if
name not
specified
Number. HTTP status code.
statusText Optional Explains the status code.
Attribute Req/Opt Default Description