CFCONTENT

Defines the MIME type returned by the current page. Optionally, allows you to specify the name of a file to be returned with the page.

Note

The ColdFusion Server Basic security settings may prevent CFCONTENT from executing. These settings are managed using the ColdFusion Administrator Basic Security page. In order for CFCONTENT to execute, it needs to be enabled on the Basic Security page. Please refer to ../../Administering_ColdFusion_Server/ contents.htmAdministering ColdFusion Server/a for more information about securing ColdFusion tags

Syntax

<CFCONTENT TYPE="file_type"
    DELETEFILE="Yes" or "No"
    FILE="filename" 
    RESET="Yes" or "No">
TYPE

Required. Defines the File/ MIME content type returned by the current page.

DELETEFILE

Optional. ...

Get Sams Teach Yourself ColdFusion® in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.