Rules Manager Puzzle
I want to restrict access to a page.
I want only logged users whose session values are as follows
NID' = 1
TID' = 2
To access the page.
So my rationale is to setup The Access Rules wizard thus
Allow if TID' = 2
Allow if NID' = 1
This translates in the helpergroupsrules.php file as this extract;
case "SellerAccount":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['TID']))?$_SESSION['TID']:"") ."", 1, "2");
$comparisons[1] = array(TRUE, "".((isset($_SESSION['NID']))?$_SESSION['NID']:"") ."", 1, "1");
break;
However, on execution Users with login session value 'TID' = 1 are able to access the page too. This not a desired action.
Any suggestion please?