On a website i'm making, cafe-house.com, the log script seems to be working okay, I have two machine, on one, the workstation, the script makes teh session, but if I want to log out, it logs me out, but does not kill the session or does not erase the cookie, and therefore I keep getting user auth errors, on the webserver, it says it can not open a tmp/sess!!!!! and therefore, the session is not made? On the online version, the webserver and workstation experience the unable to end session error:
here is my log script:
switch ($perform){
case "logout";
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);
setcookie ("saveduser");
setcookie ("savedpass");
echo $username;
break;
}
you can check it out at
www.cafe-house.com, sign up and try it, it's free, and all you need is to pick a username and password. Let me know if everythign goes well for you. Plus the site has been completely redesigned, I know that design is horrible, but it was just a temp.
Thanks...