| First Time Poster! | How would I go about doing this for securing pages. If for example you had an admin area and once validated on the index.php you they click a link to another page in the folder is there something in the header that to make sure they are logged in. Would you need to store the username/password in a session? I have tried adding a new page in and after logging in I go to the page that has
if($pLogin->isLoggedIn()) but it always returns false. I assume you have to log in on every page with the stored session?
Thanks for your help - a PHP newbie! |