After I log out, why can I still go back to the previous web page? I already put:
<?php
session_start();
session_destroy();
?>
After I log out, why can I still go back to the previous web page? I already put:
<?php
session_start();
session_destroy();
?>
As everyone is saying we need more info to help. But my guess is the session is not getting destroyed cause you already sent a header before that. Turn the display_errors on in your php.ini and set error_reporting to E_ALL. You'll get more info on what's happening.