Re: $HTTP_SESSION_VARS still holds original values even after unset?
| From: | trlists at clayst dot com | Date: | Mon, 05 Apr 2004 01:24:25 +0000 |
| Subject: | Re: $HTTP_SESSION_VARS still holds original values even after unset? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182314@lists.php.net to get a copy of this message | ||
On 4 Apr 2004 Andy B wrote:
> how would you empty all the contents of $HTTP_SESSION_VARS when you
> dont need them anymore but still keep the current session running?
See http://www.php.net/manual/en/function.session-unset.php.
That is
exactly what it does. That page also explains why unset() is not the
right way to go.
--
Tom