This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See welcome thread
Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Back button problem..Not clearing cache  RSS feed

Ranch Hand
Posts: 227
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai All,
Can anybody suggest how to avoid JSPs (Generated HTMLS) to be cached in browsers?
I tried various approaches..
- No cache , Expire dates Meta tag stuff
- response.setDateHeader stuff
But none prevented page from cache...
My requirement is if user clicked back I should show page with some message like "No back button allowed for this page"
My requirements cannot allow usage of https , protocol, disabling back button stuff or doing some DB related stuff.
I read some transction ID / pageID approach in these forums but i did not understood quite clearly. I would appreciate if u can make things clear.
Ne other suggestion to clear cache/ Back button is appreciated.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!