This question comes up pretty often. I don't remember if there's actually a fix or not. I remember people having problems despite using cfheader to define content-type and disposition. Perhaps some of these will help:
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24528 <http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24528> http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:8207 On Thu, Feb 24, 2011 at 1:22 PM, Richard White <rich...@j7is.co.uk> wrote: > > Hi, > > for security we store xls documents in a non-web root folder. We then use a > cfcontent tag to serve the file to the user. > > the problem is when the user clicks the link they are displayed a download > dialogue and all is fine if they click 'open with ms excel', but if they > click 'save as' it saves the .cfm file and not the xls file > > is there a way to save the xls file if the user clicks 'save as' > > thanks > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342585 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm