diff options
Diffstat (limited to 'php/logout.php')
-rw-r--r-- | php/logout.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/php/logout.php b/php/logout.php index d37b0a0..37304d7 100644 --- a/php/logout.php +++ b/php/logout.php @@ -5,6 +5,7 @@ // which will log the user out of our webpage session_start(); -unset($_SESSION['user_object']); +//unset($_SESSION['user_object']); +session_destroy(); header('Location: /'); ?> |