Generates custom HTTP response headers to return to the client.
Data output tags, Page processing tags
<cfheader name = "header_name" value = "header_value"> or <cfheader statusCode = "status_code" statusText = "status_text">
cfcache,
cfflush,
cfhtmlhead,
cfinclude,
cfsetting,
cfsilent
If you use this tag after the cfflush
tag on a page, an error is thrown.
<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 = "#Now()#">