• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP Session  RSS feed

 
Rene Ribeiro
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good afternoon!
I'm working with session in JSP. I'm calling normally, but when the user is out button Logging out properly. However, if you click the Boao back from the browser the user enters on the page without login.
How to solve it.
 
Stefan Evans
Bartender
Posts: 1836
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When the user pushes the back button, the browser first of all tries to retrieve the page from its cache, rather than asking the server for it again.

So the solution here is to prevent your pages being cached in the browser.
This FAQ Page deals with that issue.

cheers,
Stefan

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!