This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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......
 
 
subject: Problem in processing Logout system
 
Similar Threads
how to prevent caching in IE 6
logout back button problem
After Logout still keeping session
disable the back button in webapplication
pressing back button after logout shows loggedin contents