Two Laptop Bag*
The moose likes Servlets and the fly likes Problem in processing Logout system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem in processing Logout system" Watch "Problem in processing Logout system" New topic
Author

Problem in processing Logout system

Bhavesh Sangwan
Ranch Hand

Joined: Aug 08, 2012
Posts: 57
While writing my own Logout- Login system....

How to prevent caching my webpage...

I have a dashboard page and it appears after successful login...

When I click on logout button, it works fine....

But problem start when I press Back button and everything again getting as it was ...


So how to prevent it.... Please have a look on my code...

LogoutServlet



dashboard.jsp



So please correct me if wrong while writing logout page or dashboard.jsp... please......
 
Consider Paul's rocket mass heater.
 
subject: Problem in processing Logout system
 
Similar Threads
After Logout still keeping session
disable the back button in webapplication
pressing back button after logout shows loggedin contents
how to prevent caching in IE 6
logout back button problem