Unfortunately it still fails to work...
<?php
function WA_Auth_GetComparisonsForRule($ruleName){
$comparisons = array();
switch ($ruleName){
case "loggedIn":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['MID']))?$_SESSION['MID']:"") ."", 2, "\"\"");
break;
}
return $comparisons;
}
function WA_Auth_GetGroup($groupName){
$group = Array();
switch($groupName){
}
return $group;
}
?>
Basically login is if $_session['MID'} not equal to nothing "" then we are logged in but I can still access the page when the session does not exist (screen shots)