| Author |
Back button
|
santosh billal
Greenhorn
Joined: Dec 15, 2006
Posts: 18
|
|
in my application .After loging out .if i press back button of browser it is going back.i want to stop this .i does not want it to go back. how can i do it
|
 |
Vinod Iyer
Ranch Hand
Joined: Apr 13, 2006
Posts: 53
|
|
|
Invalidate/Kill the session on logout . Check if session is invalidated for every request if its invalidates or new session is created then forward to login/session expired page
|
 |
Rao Raghu
Ranch Hand
Joined: Jan 05, 2007
Posts: 100
|
|
Your problem is already addressed in this post
|
RAGHU<br /> <br />"When the going gets tough, the tough get going"
|
 |
Vinod Iyer
Ranch Hand
Joined: Apr 13, 2006
Posts: 53
|
|
|
I slightly differ rao raghu since this will disable all jsp cache which will be a over kill
|
 |
Rao Raghu
Ranch Hand
Joined: Jan 05, 2007
Posts: 100
|
|
|
I meant to de-cache only those pages where you are invalidaing the session, not all the JSPs of the applications.
|
 |
Vinod Iyer
Ranch Hand
Joined: Apr 13, 2006
Posts: 53
|
|
|
Okay ... some one can confirm if ragu's solution worked ??
|
 |
Rao Raghu
Ranch Hand
Joined: Jan 05, 2007
Posts: 100
|
|
Originally posted by Vinod Iyer: Invalidate/Kill the session on logout . Check if session is invalidated for every request if its invalidates or new session is created then forward to login/session expired page
even after you do this, the back button takes you to previous page.
|
 |
 |
|
|
subject: Back button
|
|
|