back button and CACHE
Marcelo Elias Del Valle <[email protected]> Fri, 15 Oct 2004 11:22:44 -0300
| Newsgroups | gmane.comp.mozilla.devel.prefs |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Hello, I am having a problem with cache using mozilla 7.2 . I am a java developer and I have a web site made with use of JSP and servlets. In this site I have a JSP page with a form, which sends data to a servlet by POST. The problem is: I enter on this page, post the data and the result is shown ok. If i enter and post data again, it shows again the right results. However, if I post the data, click on the back button, change the parameters which will be send by the form and submit again, it shows me the result of the last query, stored in cache. It is a serious problem, because it doesn´t happens on IE and my customer depends on this to approve use o linux/mozilla from users. I tried to change the way mozilla uses cache saying to it to not use any cache, I used the following meta tags to do this: <meta http-equiv="expires" content="0"> <meta http-equiv="Cache-Control" content="no-cache"> It doesn´t work, when I look at the page information, it shows me disk cache as origin. Any tip? Any help will be very welcome. Thanks in advance, Marcelo.