I would recommend upgrading your browser, first of all...5.0 is broken in many, many places, as are it's minor versions (5.01, etc).
Also, the Cache-Control header is not a browser directive, and neither is the Expires header. Both headers are for content caches, not browsers (RFC 2616, I believe). By "content caches" I mean things like Inktomi's TrafficServer cache and products like it, which ISPs use to cut down on bandwidth usage. As far as I know, the only caching header that is a browser directive is "Pragma: no-cache" and even that is shaky, especially on IE 5.0. Make sure, in your browser, that you have Tools->InternetOptions->General->TemporaryInternetFiles/Settings set to "Every visit to the page". John Turner [EMAIL PROTECTED] http://www.aas.com -----Original Message----- From: Mariela Schafer [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 11:19 AM To: 'Tomcat Users List' Subject: RE: Expiring a page on Apache/Tomcat Hi I have tried the code <% response.setHeader("Cache-Control","no-cache"); response.setHeader("Pragma","no-cache"); response.setDateHeader ("Expires", 0); %> for not cacheing. But it is not working. Could you please help in solving my problem. I am using Internet Explorer 5.0 and Apache Tomcat/4.0.1. I put this code at the starting of the JSP page. Please suggest me solution for my problem -----Mensaje original----- De: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 14 de junio de 2002 12:16 Para: Tomcat Users List Asunto: AW: Expiring a page on Apache/Tomcat I think you have to provide a bit more info. What do you mean with doesn't work ? Which browser version do you use ? Which apache version do you use ? Which tomcat version do you use ? Which connector do you use ? > -----Ursprüngliche Nachricht----- > Von: Mariela Schafer [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 14. Juni 2002 17:03 > An: '[EMAIL PROTECTED]' > Betreff: Expiring a page on Apache/Tomcat > Wichtigkeit: Hoch > > > Hi All, > I am trying to expire a page on Tomcat Apache In my JSP code > I have set this > up > <% response.setDateHeader ("Expires", 0); > response.setHeader("Pragma", "no-cache"); > response.setHeader("Cache-Control", "no-store"); > response.setDateHeader("max-age", 0); > response.setDateHeader("Expires", 0); %> > But when I run it on Apache/Tomcat it does not work. Why ?? > > Mariela > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>