File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Cache and Session Management Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cache and Session Management" Watch "Cache and Session Management" New topic
Author

Cache and Session Management

Ravinder S Edhan
Ranch Hand

Joined: Dec 15, 2003
Posts: 57
Hi,

I'm have a a bunch of pages which I navigate via logging into login page. I'm maintaining a session between those page. On the last page I submit the data. I want to clear the cache i.e after submitting the page I don't want to see the entered data in the pages while I press 'Back' button of the browser.

how can it is possible?
For single submit page it is working. How it is possible where the session management is involved?

Ravinder
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 3947
    
  17

To quote myself from another thread:

This has to come from a framework of user login. Example, user logs in and an object is placed in the session indicating they are logged in. When they logout that indicator is removed. Every URL has a Filter that checks if the login indicator is present, if it is, let the user go but if not send them to an error page. See JavaWorld's handling of this for more information.


Steve
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Cache and Session Management
 
Similar Threads
What to the holy cache is that???
Collection in request
How to write Java Server Pages logic to refresh part of a html page?
How to handle request params and navigation
Session Timeout w/o xml?