Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Remove browser cache

 
shlomy bentulilah
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have an action that first do something based on a from the user submitted and second it displays a success (jsp) page.
My problem is when the user press the browser back button within the success page because I dont want him to see the form he filled but a "reset" form or page expired ...

In other words I think I want to know how I can control the brpwser cache?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34837
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shlomy,
Have you looked at the no-cache attribute for HTML meta tags?
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic