Hi, I had the same problem with IIS and IE5. The solution to this was to set the cache-control header on the web server, all other attempts were simply ignored by the browser.
The drawback is that every single page and all images within these pages are not cached, so you loose the ability to distinguish which pages you don't want to be cached and which are ok to be cached. What is your dev environment? IIS + IE5 :) hth Ingo -----Original Message----- From: Slimane Zouggari [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 27. M�rz 2002 17:18 To: [EMAIL PROTECTED] Subject: Problem with caching Hi, When I try to follow a link to one of My action class. Sometimes, it works correctly and sometimes, my browser just take the old copy of the generated page it has in cache. My question is: How can I avoid that ? What do I have to do to be sure my browser doesn't set anything in cache ? I tried to put the following in my jsp pages, without any success: <% response.addHeader("pragma","no-cache"); // http v1.0 response.addHeader("cache-control","no-cache"); // http v1.1 %> Could anybody point me to the right way to achieve that ? Thanks in advance. Friendly Regards, Slimane -- 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]>

