Current File : /home/inlingua/www/sensoriumpsychologists.com/student/assignment/logout.php
<?php

session_start();

if(!isset($_SESSION['email']))

{

	header("Location:../student_login.php");

}

else if(isset($_SESSION['email'])!="")

{

	header("Location:../student_login.php");

}



if(isset($_GET['logout']))

{

	session_destroy();

	unset($_SESSION['email']);

	header("Location:../student_login.php");

}

?>