Record["display_name"]; $_SESSION["usertype"]; $_SESSION["usertype"] = ""; $_SESSION["username"] = ""; $_SESSION["id"] = ""; unset($_SESSION["usertype"]); unset($_SESSION["username"]); unset($_SESSION["id"]); unset($_SESSION["adminid"]); unset($_SESSION["adminusername"]); unset($_SESSION["adminusertype"]); echo $_SESSION["id"]; header("Location:../index.php"); //session_start(); //session_destroy(); //header('location:index.php'); ?>