Notefgd

1
We can disable the back function rather than expiring or updating the session so I have uploaded the file named back.html (javascript file) for the disabling of the back function. If this code not worked the other code is <script type = "text/javascript" > history.pushState(null, null, 'pagename'); window.addEventListener('popstate', function(event) { history.pushState(null, null, 'pagename'); }); </script> <SCRIPT type="text/javascript"> window.history.forward(); function noBack() { window.history.forward(); } </SCRIPT> </HEAD> <BODY onload="noBack();" onpageshow="if (event.persisted) noBack();" onunload="">

description

gdfgdfg

Transcript of Notefgd

Page 1: Notefgd

We can disable the back function rather than expiring or updating the session so I have uploaded the file named back.html (javascript file) for the disabling of the back function. If this code not worked the other code is

<script type = "text/javascript" > history.pushState(null, null, 'pagename'); window.addEventListener('popstate', function(event) { history.pushState(null, null, 'pagename'); }); </script>

<SCRIPT type="text/javascript">    window.history.forward();    function noBack() { window.history.forward(); }</SCRIPT></HEAD><BODY onload="noBack();"

    onpageshow="if (event.persisted) noBack();" onunload="">