On 14 Feb 2007, at 12:37, Ian Skinner wrote: > Is there a better technique that will allow one to suggest the file > name to a client when creating a pdf document with the > <cfdocument...> tag? Can something be done with <cfheader...> or > <cfcontent...> as one does when delivering other type of content.
You want to use the Content-Disposition header: http://www.ietf.org/rfc/rfc2183.txt Something like this: <cfheader name="Content-Disposition" value="attachment;filename=my.pdf"> -- Joseph Lamoree ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269851 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4