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()#">
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6
Comments are no longer accepted for ColdFusion MX. ColdFusion 8 is the current version.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt152.htm
Comments
MatthewCParks said on Jun 19, 2003 at 3:13 PM :