Where am i going wrong!?
Trying to secure an area of pages on a site www.coverteachers.co.uk. Created a login page called teachers_register.php and that should log them in according to their last name and user id no from the database. should then send them to cover-resources-home.php.
in itself that works ok. But i wasnt all further accesible pages from therein to be secure (i.e. user must be logged in to view them. At the login stage i requested session variables for every database field, but when i try to call any of them on any page past log in i.e. i set a binding on the cover-resources-home.php page (<?php echo $row_rsMembers['MFirstname']; ?>), they dont appear.
I also tried to use the SecurePage function, telling it to compare the seesion value MCoverID (their unique username), with the recordset rsMembers, which is flitered by the same session variable. But nothing works. I cant see the session variables after the log in page and i cant create a rule that says @allow user access if logged in". I have attached the files relevant - is there any way you could point me in the right direction. I couldnt find a tutorial on setting up simple access rules and my access rules are based on the session variables anyway, and they dont seem to pass thru.
I/m sure I/m doing something fundamental wrong here!
Appreciate your help as ever!