note 8378 added to session_destroy
| From: | flamestring at yahoo dot com | Date: | Sat, 09 Sep 2000 06:43:26 +0000 |
| Subject: | note 8378 added to session_destroy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4610@lists.php.net to get a copy of this message | ||
How to destroy session for sure ?
Can anybody tell me, how to destroy one session and start a new one in, all that in one script ?
When I call like this:
<?
session_start(); // old one
session_destroy; // should destroy all data
session_start(); // should be a new one
the new one has the same ID and data like the old one.
Thanks
http://www.php.net/manual/function.session-destroy.php