Whatever message this page gives is out now! Go check it out!
<cfheader charset="character set" name = "header name" value = "header value"> OR <cfheader statusCode = "status code" > |
Attribute | Req/Opt | Default | Description |
charset | Optional | UTF-8 | The character encoding in which to encode the header value. The following list includes commonly used values:
|
name | Required if statusCode not specified | Header name. | |
statusCode | Required if name not specified | Number. HTTP status code. | |
value | Optional | HTTP header value. |
<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())#">