File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Back button problem..Not clearing cache Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Back button problem..Not clearing cache" Watch "Back button problem..Not clearing cache" New topic
Author

Back button problem..Not clearing cache

Manohar Karamballi
Ranch Hand

Joined: Jul 17, 2001
Posts: 227
Hai All,
Can anybody suggest how to avoid JSPs (Generated HTMLS) to be cached in browsers?
I tried various approaches..
Tried
- 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.
TIA
Manohar
 
 
subject: Back button problem..Not clearing cache
 
Threads others viewed
session variable
Making a page expire
Back button issue
Back button problem...Cache not getting cleared
servlet
MyEclipse, The Clear Choice