as the names suggest, cfheader is for creating HTTP response headers and
cfcontent is for sending mime encoded content (generally that of a file).
cfcontent can set the mime content header but it's the only header it sets.
http://cfdocs.org/cfheader
http://cfdocs.org/cfcontent
Difference between cfcontent and cfheader in terms its usage?
Generally, cfcontent is used to serve up a file from the server
through ColdFusion (could be a generated PDF document, tracking image,
or any other file you want to have ColdFusion serve up for you through
the code). You can also
2 matches
Mail list logo