For some reason, a new session with a new session id is not being generated after I run my logout.php script. I'm using the code below to kill/destroy the session:
Code:
session_start();
$_SESSION = array();
session_unset();
session_destroy();
header("Location: index.php");
it doesn't matter whether I'm logged in or not, how many times i log in or out or who I log in with, I always get the same session id all the time. I only get a new id when I quit the browser (not just close the tab or window) and re-open it.
What's the problem, point out please.
thanks
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --