Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in processing Logout system

 
Bhavesh Sangwan
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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......
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic