Ok have managed to sort of figure this out... just one last hurdle which is doing my noggin in....
basically, on the secure page I have set up 3 show regions
staff, governors, permision denied
the staff and governors side of things works fine and the relevnat one shows when using the right login.
What I can get to work is the permision denied which should show if neither of the logins work and it just shows some text
<?php if(WA_Auth_RulePasses("Staff")){ // Begin Show Region ?>
<?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Secure Pages', 'Staff'); ?>
<?php } // End Show Region ?>
<?php if(WA_Auth_RulePasses("Governors")){ // Begin Show Region ?>
<?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Secure Pages', 'Governors'); ?>
<?php } // End Show Region ?>
<?php if(WA_Auth_RulePasses("No permission")){ // Begin Show Region ?>
<p>You do not have permission to view the content on these pages.</p>
<?php } // End Show Region ?>
I can figure out what the rule should be on this basis that if the login is incorrect for either of the first 2, then the permission denied comment shows.....
At the moment, the 'No permission' rule I am using is as per the screenshot attached....
Cheers
Jamie