note 61776 deleted from function.session-destroy by philip
| From: | philip@php.net | Date: | Wed, 29 Mar 2006 05:49:05 +0000 |
| Subject: | note 61776 deleted from function.session-destroy by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106903@lists.php.net to get a copy of this message | ||
Note Submitter: Les
----
I ran into the same problem with session_id() remaining the same for a new session after destroying
a previous session at log out. I found this solution on another site:
Modify the code example on this page to use this instead:
if (isset($_COOKIE[session_name()])) {
unset($_COOKIE[session_name()]);
}