• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

cfheader

Synopsis

<cfheader>

Generates a custom HTTP header that contains either a custom name/value pair or an HTTP status code and optional text message. Only one name/value pair or status code can be specified per cfheader tag. Name/value attributes can’t be mixed with status code attributes within the same cfheader tag. Multiple cfheader tags can be used to set multiple header values as long as they are declared separately. Note that cfheader can’t be used on the same page as the cfflush tag.

Attributes

name=" header_name "

The name of the header element. Required when using the cfheader tag to pass a name/value pair. If name="Content-Disposition", the header’s value is encoded using the default file encoding. This allows the name of the file to contain characters encoded using the same character encoding as the file.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint