Safari Back button not honouring PHP logout session
- by Steve Kemp
I've got a logout.php page which ends a user's session and works well and does the following:
session_start();
session_unset();
session_destroy();
I've just noticed when testing with Safari that when you logout you can click the back button to return to the previous page which requires authentication but are not prompted. You cannot navigate away…