Try this ... not verified. Hope this works for you.
Create a new php file. You can use the back and forward buttons, and the number / time stamp on the page is always updated.
<?php header("Cache-Control: no-store, must-revalidate, max-age=0"); header("Pragma: no-cache"); header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); echo time(); ?> <a href="http://google.com">aaaaaaaaaaaaa</a>
Or
another solution found
The onload event should be fired when the user clicks the back button. Elements not created using JavaScript retain their values. I suggest that you back up the data used in the dynamically created element to INPUT TYPE = "hidden", which will be displayed: no then onload, using the input value to rebuild the dynamic elements as they were.
<input type="hidden" id="refreshed" value="no"> <script type="text/javascript"> onload=function(){ var e=document.getElementById("refreshed"); if(e.value=="no")e.value="yes"; else{e.value="no";location.reload();} }
Gopal Jan 03 '14 at 8:21 2014-01-03 08:21
source share