I’ve tried what you suggested but it still isn’t working for me.
I have added two session values to the ‘Authenticate user’ behaviour. which are ‘email_verified’ and ‘status’.
A successful login directs to the ‘consent-consolidation.php’ page, which uses the following rule:
case "Logged in and Consolidation":
$comparisons[0] = array(FALSE, "".((isset($_SESSION['acc_id']))?$_SESSION['acc_id']:"") ."", 1, "");
$comparisons[1] = array(TRUE, "".((isset($_SESSION['email_verified']))?$_SESSION['email_verified']:"") ."", 1, "1");
$comparisons[2] = array(FALSE, "".((isset($_SESSION['status']))?$_SESSION['status']:"") ."", 1, "Consolidated");
break;
... in a secure page behaviour, if it fails it redirects to the ‘consent-list.php’ page.
So basically if a user logs in and their ‘status’ value is ‘Consolidation’ then they get access to the ‘consent-consolidation.php’ page. if their ‘status’ value is ‘Consolidated’ they get redirected to the ‘consent-list.php’ page.
But it doesn’t!!
mayne this isn’t the best way for me to achieve my goal. To put it in simple terms..
When the user logs in, if their ‘status’ value is ‘consolidation’ i want them to stay on the ‘consent-consolidation.php’ page. If their ’status’ value is ‘Consolidated’ they get redirected to the ‘consent-list.php’ page.
I’ve attached the pages as they are. Plus they are on the remote test site ( see post #2 for access ).
Thanks in advance.