note 55493 deleted from function.unset by googleguy
| From: | googleguy@php.net | Date: | Wed, 19 Dec 2012 00:25:56 +0000 |
| Subject: | note 55493 deleted from function.unset by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192588@lists.php.net to get a copy of this message | ||
Note Submitter: tom at diacope dot com
----
when working with $_SESSION or any other array like that and you want to delete part of the session
array it's always worked for me to do:
$_SESSION['data'] = NULL;
unset($_SESSION['data']);