note 8090 added to session_destroy
| From: | show2sh at yahoo dot com | Date: | Sat, 26 Aug 2000 10:28:09 +0000 |
| Subject: | note 8090 added to session_destroy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3408@lists.php.net to get a copy of this message | ||
session_destroy() will destroy the whole session..but before calling session_destroy() u should call
session_start();
-----------------------------------
before destroying session make sure u unregister all the registered variables like:
session_unregister($var);
session_Destroy();
thats it...
http://www.php.net/manual/function.session-destroy.php