In Safari 10.1.1 the browser's back button does not reload the target page, so $_SERVER['SCRIPT_NAME']
is not changed.
Is there a way to reload the target page when the browser's back button is pressed. I tried the following:
header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1.
header("Pragma: no-cache"); // HTTP 1.0.
header("Expires: 0"); // Proxies.
This does not work.
Background: I try to build a reliable page history in PHP, but how can I, if the browser's back button does not trigger anything on the server?
Thank you!