on my website, for some reason when people log out, the session does not end. It's to the point where I clear each individual variable associated with loggin and I still get an error where the site keeps trying to log on invalid: here is my log out script:
variables associated with loggins are:
saveduser - cookie stored username
savedpass - cookie stored password
username - well, the username
password - you know
switch ($perform){
case "logout";
setcookie ("saveduser");
setcookie ("savedpass");
session_unregister("username");
session_unregister("password");
session_unregister("useremail");
session_unregister("userurl");
session_unregister("userrealname");
session_unset();
session_destroy();
unset($saveduser);
unset($savedpass);
unset($username);
unset($password);
break;
}
to understand it better, go to my website at www.cafe-house.com , it's undergoing beta testing, sign up and try to log out, you'll see at first it works fine, but when you click anywhere else it tries to log on. The confusing this is that in my devoloping server, the logout works fine