Re: IE Content Disposition Problem

From: sks - global7 <sks@xxx.co.uk>
Date: Tue Oct 18 2005 - 12:26:19 PDT

Adding in the cache-control header has solved the problem. Changing the
content type was not needed. Cheers !

> Hi,
>
> I'm doing exactly that, but with different filetypes, so my code looks
> like
> this:
>
> response.setContentType(theCurrentMIMEType);
> response.setHeader("Content-Disposition","attachment;
> filename=\""+theCurrentFileName+"\"");
> response.setHeader("Cache-Control", "private");
>
> And that works, I believe there could be some strange issues in IE when
> NOT
> setting the correct MIME and the Cache-Control.
> Let me know if it works.
>
>
> Mvh
> Thor
>
> -----Original Message-----
> From: owner-resin-interest@xxx.com
> [mailto:owner-resin-interest@xxx.com] On Behalf Of sks - global7
> Sent: 18. oktober 2005 11:56
> To: resin-interest@xxx.com
> Subject: IE Content Disposition Problem
>
> Morning people,
>
>
> I am getting the exact same error this guy was:
> http://www.caucho.com/support/resin-interest/0007/0083.html
>
> No one ever replied with a solution though as it went off on a tangent
> about
> content lengths.
>
> I'm using this:
>
> response.setContentType("application/octet-stream");
> response.setHeader("Content-Disposition", "attachment; filename=\"" +
> result.getFilename() + "\"");
>
> Tried all variations on the latter (no quotes, semi colon terminator,
> etc).
> Works perfectly in Firefox.
>
>
>
Received on Tue 18 Oct 2005 12:26:19 -0700

This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:18:51 PDT