We cannot disable the back button of the browser. But we can prevent the user from navigating to the previous page.

Place this script on the page.

<script type="text/javascript" language="javascript">

history.forward();

</script>

When the user clicks the back button of the browser, he is sent forward i.e to the same page where he came from.

Advertisements