aboutsummaryrefslogblamecommitdiff
path: root/logout.php
blob: d2ae1dd34dd18c013436482d25e8e4aa620ac354 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                      
<?php
// Initialize the session
session_start();
 
// Unset all of the session variables
$_SESSION = array();
 
// Destroy the session.
session_destroy();
 
// Redirect to login page
header("location: login.php");
exit;
?>