Our web site is entirely SSL.  Most users have IE.  Our application is used
to securely transfer and digitally sign attached files that must be
downloaded.  Yet, we've never seen this problem.  Who is putting in the
"Pragma" header in the response in the first place that you have to change
it this way?  And why does the Pragma setting have the negative effect
described?

Thanks,
David

----- Original Message ----- 
From: "Jon Wingfield" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, October 15, 2004 9:57 AM
Subject: Re: Internet Explorer Bug under SSL Connection


> Yep. This comes up every so often on the list.
>
> Whenever IE downloads content we change the Pragma response header to be
> public instead of no-cache:
>
> String userAgent = request.getHeader("user-agent");
> if (response.containsHeader("Pragma")
>      && userAgent!=null
>      && userAgent.toUpperCase().indexOf("MSIE")>-1) {
>      response.setHeader("Pragma", "public");
> }
>
>
> HTH,
>
> Jon
>
> Edouard Dalla-Costa wrote:
>
> > Hi,
> >
> > I am using a servlet that open an excel file from an output stream
> > which is working very well. However, I want to use it under SSL
> > connection which looks to be quite easy. I made the change in tomcat
> > and it is working very well. However when I try to open my excel file
> > using Internet Explorer under SSL connection, I am having a strange
> > error:
> >
> > impossible to open: https://myURL
> >
> > I am using exactley the same URL with non SSL connection and it is
> > working fine. But the funniest thing is that it is really well working
> > using FireFox or Opera explorer.
> > It makes me crazy. So if somebody as already see encounter this
> > problem or know what to do. PLEASE HELP ME
> >
> > Thank you very Much
> >
> > regards
> > Edouard


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

Reply via email to