The solution is applicable to almost every common broewser used.
Add the following script in the "<head></head>" tag.
<script type="text/javascript">
window.history.forward();
function disableBackButton() {
window.history.forward();
}
setTimeout("disableBackButton()", 0);
</script>
And call it in the body tag like this:
<body onload="disableBackButton();" onpageshow="if (event.persisted) disableBackButton();" önunload="">
</body>