16 lines
234 B
PHP
16 lines
234 B
PHP
|
<?php
|
||
|
// Initialize the session
|
||
|
session_start();
|
||
|
|
||
|
// Unset all of the session variables
|
||
|
session_unset();
|
||
|
|
||
|
// Destroy the session.
|
||
|
session_destroy();
|
||
|
|
||
|
session_start();
|
||
|
|
||
|
// Redirect to login page
|
||
|
header("location: login.php");
|
||
|
exit;
|
||
|
?>
|