Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
puffbunny #1
Question about CFCONTENT
Hello, Changing the MIME type of a request is easy enough but what about the
filename too? I have an 'attachment.cfm' page which returns an 'attachment',
a JPG for example... It works fine except as far as the browser knows, the
filename is 'attachment.cfm', not 'image.jpg' (or whatever) which would be
nice.. Anyone know of a trick to do this? I have seen it done elsewhere...
Thanks!
puffbunny Guest
-
FLV and cfcontent
I've been attempting to use cfcontent to supply an FLV file to a flash application. I can't seem to get it to work. Does anyone have an example of... -
cfcontent - help please
Hi In my database there is a field which has links to articles #productdescription#- these articles have been saved as simple text. When a user... -
CFCONTENT
Hello, Is it possible to use <CFCONTENT> within a frame or table layout? seems when I run my code (which is a pop up window), the <cfcontent>... -
why use cfcontent?
Why would one use cfcontent insead of of using cfheader? Sorry if this eems like a daft question but they seem to be the same thing to me. -
CFCONTENT and SSL
I've read several online forums concerning the CFCONTENT - PDF problem but haven't seen anything similar to the problem I'm having... I'm... -
blewis #2
Re: Question about CFCONTENT
Just change "myFile.jpg" to whatever you want.
<cfheader name="content-disposition" value="inline;filename=myFile.jpg">
<cfcontent ...>
blewis Guest



Reply With Quote

