How to disable back,forward and Refresh functionality in browser?
<p>Hi Can any one help to disable browser back,forward and back button and right Click Menu functionality using javascript or Jquery?I have tried disabling the back button like this</p>


function disableBackButton() {
           window.history.forward();
       }
       setTimeout("disableBackButton()", 0);

<p>I have called this function in the Body onload event.I have a doubt that where we need to put this code in the Calling page or Called Page.Suppose i have two pages like this FirstPage.aspx and SecondPage.aspx.When i navigate from the First Page to Second Page when i click back button of the browser it should not go to FirstPage.aspx.</p>

<p>Please help me regarding this </p>
