[thelist] Save As dialog

.jeff jeff at members.evolt.org
Wed Nov 6 01:14:01 CST 2002


hi,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Stevenson Ngila
>
> How do I prompt a "Save As" dialog in coldfussion for
> any link clicked?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

the requested template would need to issue a header/mime-type that was
unrecognizable to the browser.  here's a combination of tags that i use to
get the job done:

<cfheader
 name="Content-Disposition"
 value="attachment; filename=foo.jpg">
<cfcontent
 file="F:/inetpub/wwwroot/foo.jpg"
 type="application/x-unknown">
<cfabort>

good luck,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/




More information about the thelist mailing list