OKay, I made a user login, and it works great, and yesturday, i had trouble loging out but I found the answer to that and it worked fine. Today, I change virtually nothing and it doesnt work anymore: here is my logout script;
if ((isset($perform)) AND ($perform == 'logout')) {
setcookie ("cookieuser");
setcookie ("cookiepass");
session_unset();
unset($cookieuser);
unset($cookiepass);
unset($user); -- session variables
unset($pass);
but for some reason, the user stays logged in, even i I go in manually and erase the cookie, the user remains logged in, even if I go in and erase the cookie, close the browser to end the session, go back, the cookie is there and the user is logged in.