You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by John Norris <ja...@qad.com> on 2000/08/18 00:52:16 UTC

IE Cache Control


Hi,

 I'm trying to get a jsp-generated web page to refresh when it is returned
to from another page. I can get this to work on Netscape by setting the
Expires header to -1:

     <% response.setHeader("Expires", "-1"); %>

This does not work on IE, as Microsoft themselves say. MS recommend using
the Cache-Control header:

     <% response.setHeader("Cache-Control", "no-cache"); %>

but this does not work for either IE or Netscape.

Any ideas?

Thanks,

John