• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

back button caching problem in firefox browser

 
Gerard de Vos
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

In our project we have a problem concerning the behaviour of the firefox browser compared to the IE browser. They are all operating under the Windows platform.

We have looked on Google and on the Javaranch forums for a solution but we couldn't find one. Maybe someone can help.

In our code we use the following to solve caching problems for the Internet Explorer browser:

response.setHeader("Cache-Control", "no-cache");
response.setHeader("Cache-Control", "no-store");
response.setHeader("Pragma", "no-cache");
response.setDateHeader("Expires", 0);

This works fine indeed for Internet Explorer but not for the Firefox browser.

Can someone tell us how to solve this problem for Firefox.

Thanks a lot in advance,

Regards,

Gerard
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure this is related to your problem but give it a shot.

Quoting:
"Despite efforts to prohibit caching some web browsers like Firefox just do not care."
http://www.theserverside.com/articles/article.tss?l=RedirectAfterPost
 
dema rogatkin
Ranch Hand
Posts: 294
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"no-store" worked fine for me with FF 1.5. Try to add settings in HTML as
<meta ...>
I just tested with "no-store" on FF 1.5 and it worked. You may use some HTTP traffic monitoring tool just in case if your web container does something wrong with headers.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic