User Guide
92 Chapter 2: ColdFusion Tags
cfcontent
Description
Does either or both of the following:
• Sets the MIME content encoding header for the current page; if the encoding information
includes a character encoding, sets the character encoding of generated output.
• Sends the contents of a file, or of a variable that contains binary data, as the page output.
To restrict this tag, use the Sandbox Security feature of the ColdFusion MX Administrator. For
more information, see the Administrator online Help.
Category
Data output tags
Syntax
<cfcontent
type = "file_type"
deleteFile = "yes" or "no"
file = "filename"
variable = "variablename"
reset = "yes" or "no">
See also
cfcol, cfheader, cfhttp, cfoutput, cftable
History
ColdFusion MX 7: Added the variable attribute.