Location: PHPKode > projects > Athena Research Assistant > athena-dev-0.1pre-alpha/includes/check_login.inc.php
<?php
//check if user is logged in, if not force a login
session_start();

if (empty($_SESSION["valid_user"]) or !isset($_SESSION["valid_user"]) or $_SESSION["valid_user"] == 0){
	$_SESSION["valid_user"] = 0;
	header("location: ../login/login.php");
}

?>
Return current item: Athena Research Assistant