1 Reply Latest reply on Jan 7, 2011 3:16 AM by rsheshi

    IE download issues over SSL - caching?

    nkunkov

      Hi,

      I have a jboss application going over SSL.

      When I try to download an excel report - I get an error "unable to open the internet site. The requested site is either unavailable or can't be found"

      I found a lot of postings about Tomcat and disableProxyCaching or securePagesWithPragma.

      I tried adding a context.xml file to META-INF folder of my war as follows:

       

      <?xml version="1.0"?>
      <Context debug="1" privileged="true" >

           <Valve className="org.apache.catalina.authenticator.FormAuthenticator"
      securePagesWithPragma="false" />

      <Valve className="org.apache.catalina.authenticator.NonLoginAuthenticator"
      securePagesWithPragma="false" />

      <Valve className="org.apache.catalina.authenticator.BasicAuthenticator"
      securePagesWithPragma="false" />

      <Valve className="org.apache.catalina.authenticator.SSLAuthenticator"
      securePagesWithPragma="false" />


      </Context>

       

      But this doesn't make any difference.

      Are there are any other options?  Did I not add this in the right place?  Maybe this has to be added to a different file - server.xml or some other?

       

      Any help will be greatly appreciated!

      Thanks in advance

        • 1. Re: IE download issues over SSL - caching?
          rsheshi

          Hi i had the same problem. This is a problem of expoler  when the server send this headers "Cache-control:no-store" o             "Cache-control:no-cache".

          i solve the problem puting response.setHeader("Cache-Control", "private");