prevent browser back button multiple times javascript code example
Example: disable back button in browser
<script type="text/javascript"> function preventBack() {window.history.forward();} setTimeout("preventBack()", 0); window.onunload = function () {null};</script>