Posted by robert on 05/31/06 17:11
<mukherjeesubrato@gmail.com> wrote in message
news:1149092504.824125.297630@y43g2000cwc.googlegroups.com...
| If I change the application/vns.ms-excel to octet-stream it outputs the
| result on the page itself. Not sure what is missing for saving it as
| excel file. ?
you aren't saving it as anything. you're having the browser perceive it as
something. it makes a determination as to what action to take based on the
headers you specify.
try:
content-type: application/force-download
see if that helps.
in the end, you can really only help a browser along its way...it will do
what it wants to do or think it should do. is ie displaying it as an excel
doc with in the browser at least?
Navigation:
[Reply to this message]
|