Cfheader - MACROMEDIA COLDFUSION MX 61-CFML Reference

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

cfheader

Description
Generates custom HTTP response headers to return to the client.
Category
Data output
tags,
Syntax
<cfheader
name = "header_name"
value = "header_value"
charset="charset">
or
<cfheader
statusCode = "status_code"
statusText = "status_text">
See also
cfcache, cfflush, cfhtmlhead, cfinclude, cfsetting, cfsilent,
History
ColdFusion MX 6.1: Changed behavior for the
cfheader name="Content-Disposition"
header's value, so the name of a file can include characters in the character encoding used in the
file.
Attributes
Attribute
Req/Opt
name
Required if
specified
value
Optional
charset
Optional
Page processing tags
not
statusCode
attribute:
name
uses the default file character encoding to encode this
Default
Description
Header name
HTTP header value
UTF-8
The character encoding in which to encode
the header value. The following list includes
commonly used values:
• utf-8
• iso-8859-1
• windows-1252
• us-ascii
• shift_jis
• iso-2022-jp
• euc-jp
• euc-kr
• big5
• euc-cn
• utf-16
For more information character encodings,
see:
www.w3.org/International/O-charset.html.
cfcontent
cfheader
171

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents