survey_seahorse

Software Engineering Project - Fall 2018
Log | Files | Refs | README

logout.php (267B)


      1 <?php
      2 include_once 'res/session.php';
      3 unset($_SESSION["uid"]);
      4 unset($_SESSION["email"]);
      5 unset($_SESSION["username"]);
      6 unset($_SESSION["date"]);
      7 unset($_SESSION['admin']);
      8 unset($_SESSION['blocked']);
      9 unset($_SESSION['login-sid']);
     10 header("Location: index.php");
     11 ?>