Your IP : 216.73.216.40


Current Path : /var/www/html/venkat/repo2017sept/
Upload File :
Current File : /var/www/html/venkat/repo2017sept/sessions.php

<?php

session_start();

if(!isset($_SESSION['username'])) {
	header("location:login.html");
}


$s = $_SESSION['username'];
$facultyname = $_SESSION['facultyname'];
$dept = $_SESSION['dept'];

if(time() - $_SESSION['expire'] > 360) {
        session_destroy();
        header("location:login.html");
}

$_SESSION['expire'] = time();




?>