session_start(); // put at start // Security test if ($_SESSION["islog"]!= "yes") { //send to login page $_SESSION["redirect"]="gamos_software_reference.php"; header("Location: gamos_login.php"); /*} else { //else calculate time $savedDate = $_SESSION["latAccess"]; $now = date("Y-n-j H:i:s"); $timePased = (strtotime($now)-strtotime($savedDate)); //Time comparison if($timePased >= 60 * 10) { //if more tah 10 minutes session_destroy(); // destroy session //header("Location: gamos.php"); //authenticate agaim //else update date }else { $_SESSION["lastAccess"] = $now; }*/ } ?>
GAMOS detailed description of classes definitions and their public methods. The following documentation was generated by Doxygen.