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()
CTED]
Sent: Sunday, April 04, 2004 6:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP] $HTTP_SESSION_VARS still holds original values even after
unset?
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
"$HTTP_SESSION_VARS = array();"
doesnt work... it kills the session and forces me to login as soon as the
array is empty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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?
$HTTP_SESSION_VARS = array();
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
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
5 matches
Mail list logo