Hi,
I'm trying to renew a session by using session_destroy() before
starting a new session on the next page. Unfortunately, it seems that
I keep getting the same SESSID (using $_REQUEST["PHPSESSID"]) when the
session starts again. I made a test page to simplify the problem and
it still happens:
<?
session_start();
echo "SESSID = ".$_REQUEST["PHPSESSID"];
session_destroy();
?>
If I refresh this page, I would expect it to give me a new sessid each
time, but it doesn't. Is there something I'm not understanding here?
I also tried putting a couple of extras in like:
unset($_REQUEST["PHPSESSID"]);
session_unset();
Looking forward to hearing from someone!
Thanks,
Mat