| Author |
back button after logout
|
srinivas mallabathula
Greenhorn
Joined: Apr 12, 2011
Posts: 7
|
|
I am developing one application using jsp and spring.In this application,After click the logout button,it is redirected to login page.Then If we click on backbutton(or backspace), it is going to previous page.But is has to stay current page only.How to do this?
Thanks in advance
|
 |
K. Tsang
Ranch Hand
Joined: Sep 13, 2007
Posts: 1222
|
|
|
Did you correctly destroy the session in your logout page?
|
K. Tsang JavaRanch SCJP5 SCJD/OCM-JD
|
 |
R. Jain
Ranch Hand
Joined: Aug 11, 2012
Posts: 276
|
|
You need to set no-cache headers for your page..
See JSP FAQ.
|
OCPJP
|
 |
 |
|
|
subject: back button after logout
|
|
|