RE: Difference between cfcontent and cfheader in terms its usage?

2012-02-16 Thread Bobby Hartsfield
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

Re: Difference between cfcontent and cfheader in terms its usage?

2012-02-15 Thread Justin Scott
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