title: Unset all session variables - local websites
body: <p>Why do we have to unset all sessions variable after log out,why not just unset the session variable used to check if a user is logged in .I ask because I have 4 sites on local host,if a user is logged in on the four site in the same browser  and i destroy the session when a user logs out of one, automatically the user would be logged out of the remaining 3 because session destroy destroys all sessions.</p>