header("Location: http://referral.studentlife.gatech.edu"); exit; session_start(); require("../../php/functions.php"); require("../../php/sharedFunctions.php"); $securityKey = "jackets"; include_once('../../phpCAS/CAS.php'); // initialize phpCAS phpCAS::client(CAS_VERSION_2_0,'login.gatech.edu',443,'cas',FALSE); // no SSL validation for the CAS server phpCAS::setNoCasServerValidation(); phpCAS::forceAuthentication(); $CASauthed = phpCAS::checkAuthentication(); if($CASauthed){ $user= phpCAS::getUser(); }//if cas authed ?>