Hi,
Did you manage to figure up this issue?
I use IE7 and
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-disposition","attachment; filename=Book.xls");
Like you I get a yellow bar "To help protect your security, IE has blocked this
site from downloading files..." but when I click the yellow bar and select
"Download File", nothing happens
Even in second attemp
THANKS
Tali
> Hello, I am trying to use cfcontent to make an excel sheet and in
> Internet Explorer 7 the yellow bar at the top does it's thing and says
> "To help protect your security, IE has blocked this site from
> downloading files.... blah blah blah".
>
> I click the yellow bar and select "Download File", but nothing happens.
> No file is downloaded.
>
> If I don't refresh the page and try it again I do get the option to
> save or open the file and everything looks great.
>
> Why doesn't the first attempt to download work? Here is my code:
>
> <cfheader name="Content-Disposition" value="inline; filename=SKUs.
> xls">
> <cfcontent type="application/ms-excel" >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311707
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4