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




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to