GeeCON Prague 2014*
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


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......
 
GeeCON Prague 2014
 
subject: Problem in processing Logout system