Disabling Back Button of Browser using Javascript
Generally once user Logout, it redirects to login page.
But user can go back(by clicking on browsers back button) due to caching concept.
But user should not be able to go back.
Here is a simple solutions using javascript.Write this code in logout page.
<html>
<head>
<script type="text/javascript">
window.history.forward();
function noBack()
{ window.history.forward(); } //The forward method loads the next URL in the History list.
</script>
</head>
<body onload="noBack();" onpageshow="if (event.persisted) noBack();">
<h1>Back button disabled.</h1>
</body>
</html>
