Re: $HTTP_SESSION_VARS still holds original values even after unset?

From: Date: Sun, 04 Apr 2004 22:42:18 +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-182307@lists.php.net to get a copy of this message
Umm.. Use $_SESSION for that, and session_unregister() for the unsetting with the old style code.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Andy B" <aborka1@wmis.net> skrev i meddelandet news:000a01c41a90$99689fc0$34c66dd8@andy... how would you empty all the contents of $HTTP_SESSION_VARS when you dont need them anymore but still keep the current session running? the problem seems to be that when i try to fill them with something else (dont need the original values anymore) but need new ones without destroying the session itself they wont fill with new things. unset($HTTP_SESSION_VARS); does nothing to help at all because they still have the same values that they were originally filled with (and not to mention they are still in the session)... anybody have any ideas how to "delete" or empty out the array but keep the session active ??

« previous php.general (#182307) next »