SID problem?
| From: | Hrvoje Bogunovic | Date: | Mon, 29 Apr 2002 17:14:32 +0000 |
| Subject: | SID problem? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-95204@lists.php.net to get a copy of this message | ||
Is this behaviour normal. I can't destroy SID.
Take a look at the following code.
session_start();
session_unset();
session_destroy();
echo SID; // SID still exists ?!
.... some code
session_start();
echo SID; // this SID is equivalent to the one above
$sess_id = session_id(); // now we get a new session id
echo $sess_id; // this is different from the SID above
header("Location: skript.php?".SID);
Thanks,
Hrvoje