Back Button Disabled

by Prabakaran 2010-11-01 16:52:00

*****************************************hst1.php******************************
<html>
<head>
<title>Disable Back Button in Browser</title>
<script type="text/javascript">
window.history.forward();
function noBack()
{
window.history.forward();
}
</script>
</head>
<body onload="noBack();" onpageshow="if (event.persisted) noBack();" onunload="">
<p>When ever you have to be click the link back button will be dissabled.
</p>
</body>
</html>
*******************************************************************************

***********************************hst2.php************************************
<html>
<body>
<h1><center>This Page will be disabled for Back button </center></h1>
</body>
</html>
********************************************************************************
1250
like
0
dislike
0
mail
flag

You must LOGIN to add comments