Re: Unsetting Session Variables
| From: | Marek Kilimajer | Date: | Wed, 30 Oct 2002 16:34:02 +0000 |
| Subject: | Re: Unsetting Session Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122043@lists.php.net to get a copy of this message | ||
I have noticed this behavior before, and I find it very inconsistent. Does anybody know if this
is going to be fixed?
Ford, Mike [LSS] wrote:
-----Original Message----- From: David Russell [mailto:DavidR@BarloworldOptimus.com] Sent: 30 October 2002 15:30 To: 'Ford, Mike [LSS]' Cc: php-general@lists.php.net Subject: RE: [PHP] Unsetting Session Variables PHP 4.2.2 Register Globals Off Using only $_SESSION No session_register() calls at all Interestingly enough, doing session_unregister('variablename') *in* *addition* does work (although I am sure it shouldn't)Yes, that's my interpretation, too -- but if doing the "wrong" thing gets the right answer, go for it! (Just be aware it might be different in 4.3!) Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.ukTel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211