Help with login page
Not sure what's up here, but I have a log in page here:
Which is redirecting to the correct page, but is failing the access check on the 'logged in' rule.
I've tried removing the rule, and echoing the session variable:
UserID: <?php echo $_SESSION["SecurityAssist_UserID"];?>
Which draws a blank.
And I added in recordset:
SELECT * FROM users WHERE UserID = ParamUserID
where ParamUserID equals that session variable.
Without the rule, the correct UserID is displayed on the page.
But when I apply the rule again, it still fails the access check.
I've attached the login page and the page that's failing the check, with the rule, and without that recordset.
Any pointers appreciated.