<?php
session_start();
if(isset($_POST['logout_button']))
{
//session destroy();
unset( $_SESSION['auth']);
unset( $_SESSION['auth_role']);
unset( $_SESSION['auth_user']);
$_SESSION['message'] = "Logged Out Successfully";
header('Location: login.php');
exit(0);
}
?>