Hi Guys
I'm working on a little log in syetms for my website, hwoever have hit a little snag. I'm using cookies to track which users are logged in. I'm trying to make some pages restricted to vistors that have logged in only, so I decided to use if($_COOKIE["loggedIn"] == TRUE){
This works for the log in page but when I logout using Inline setcookie("loggedIn", NULL, time() - 60000);
All the other pages apart from the log in page retain the value TRUE
. I originally set the cookie setcookie("loggedIn", TRUE, time() + 3600);
. I'm still very new to php so any help would be greatly appreciated