• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

log out

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using a jsp page to invalidate the session that stores the user's credentials, then every other jsp in the webapp tests for the users credentials and forwards the user to the login page if these aren't in the session. This doesn't seem to work though if the user logs out and then uses the 'Back' button. Is there a way to prevent them seeing any pages at all, even cached ones, after they've logged out?
Thanks a lot, in advance.
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter
Quick search on this forum results into,
https://coderanch.com/t/283574/JSP/java/controlling-browsers-back-button
HTH.
Regards
Maulin
 
reply
    Bookmark Topic Watch Topic
  • New Topic