You can not capture the fact that the back button on the client was clicked. You should t least disable caching on the client.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Joined: Jan 12, 2009
Hi Bosun Bello ,
Thanks for your reply, i thought same on this...But, in some sites(e.g. bank sites) i found clicking back button is redirecting to Some Error page. I need to implement same in my current project. Present, we are disabling back button functionality by using Java script. But, we need to implement it as disabling session and redirect user to error page(with some message and login page link).
Here, i need to invalidate session whenever user clicks on Back button in any page of web application...