Force page to refresh/reload if user clicks on back button in browser [duplicate]
Possible Duplic开发者_开发问答ate:
Cross-browser onload event and the Back button
How can I force a view/page to refresh when a user clicks browser back to that page?
use onunload
<body onunload="alert(unloading page')"></body>
精彩评论