Dear Servlet-Interest users,
I have an online ordering application and I am having problems logging out. Once a user has placed an order and he clicks on the Logoff button, I call a servlet where I destroy the session and redirect the user to a new page with the message that he has logged out successfully. But, when I hit the back button on the browser, it again takes me to the previous page. I want the user to go to the login page when he hits the back button on the browser and force him to login again to access any of the pages, instead of the previous page in his session.
How can I achieve this functionality?
Thanks for any help in advance!
Sincerely,
--Andy.
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
