Forum Moderators: coopster
<?php
session_start();
$sid=session_id();
echo "$sid";
session_destroy();
session_unset();
?>
Outputs:
4285197332ae1be47f1c6b96209e2214
If I run this code again, I get the same thing:
4285197332ae1be47f1c6b96209e2214
What am I doing wrong? How do I destroy this session ID get a new one? I've tried session_regenerate_id(); and I get the same exact thing.