CFHEADER
Sets the HTTP header of the outgoing request
Usage
<cfheader>
Attributes
Attribute | default | required | summary |
---|---|---|---|
ATTRIBUTECOLLECTION | A structure containing the tag attributes | ||
NAME | The name of the HTTP value | ||
VALUE | The VALUE of the of the response | ||
CHARSET | The character set of the outgoing request | ||
STATUSCODE | The number of the response code | ||
STATUSTEXT | The status text |
Extra
An example of using CFHEADER to disable the browser from caching the page.
<cfheader name="Cache-Control" value="no-cache,no-store,must-revalidate"> <cfheader name="Pragma" value="no-cache"> <cfheader name="Expires" value="Tues, 13 Sep 2011 00:00:00 GMT">