Disable back button of browser in ASP.NET



<script type="text/javascript">
   function disablebackButton()
   {
   window.history.forward(0);
   }
   setTimeout("disablebackButton()",0);
   
   </script>




set
<body onload="disablebackButton()">
Next Recommended Reading Disable Browser Back Button