Thank you, Jason. Your detailed instructions were very easy to follow.
However, I seem to have gone amiss somewhere. When I land on the parents_Registration.php, I am automatically redirected to the registration.php (with the “Please ask you parents to sign up your membership.”
The message in the url seems to indicate that it is checking the HelperGroupsRulesPHP file ok. But, I am not sure how it knows that the session is locked out since that variable should not be picked up until you hit the registration.php page. I have tried clearing the browser cash, closing and opening it again while testing. Where did I go wrong?
****************************************************
parents_Registration.php
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["userMinAge"] = "yes";
}
?>
*******************************************************
Registration.php
<?php require_once("../../WA_SecurityAssist/Helper_PHP.php" );
if (!WA_Auth_RulePasses("MinAgeLockout")){
WA_Auth_RestrictAccess("Registration.php");
}
?>
********************************************************
IN URL
Registration.php?accesscheck=%2Fpages%2Fmenu%2Fparents_Registration.php