We had this for content types that IE didn't know about, including application/x-zip-compressed and application/octet

By default we have a filter which sets cache headers for everything:

<snip>
httpResponse.setHeader("Cache-Control", "no-cache");
httpResponse.setHeader("Pragma", "no-cache");
</snip>

For the offending servlets we added a hack:

<snip>
if (response.containsHeader("Pragma")
    && request.getHeader("user-agent")!=null
    && request.getHeader("user-agent").toUpperCase().indexOf("MSIE")>-1) {
    response.setHeader("Pragma", "public");
}
</snip>

This worked for us over SSL
Also see the notes in http://php3.de/manual/en/printwn/function.session-cache-limiter.php


HTH,

Jon

Ilya Oussov wrote:
Is it possible to download PDF over https with MSIE?  I tested several
combinations of cache control and content-disposition headers but none
worked for me.  Is it at all possible without fall back to HTTP?

MSIE always says "was not able to open this Internet site".

Best regards,
--
  o-:^>___?  Ilya Oussov <[EMAIL PROTECTED]>
  `~~c--^c'


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to