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](https://reader035.fdocuments.in/reader035/viewer/2022081817/5695cf851a28ab9b028e7129/html5/thumbnails/1.jpg)
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="">