RE: [PHP] Unsetting Session Variables
| From: | Ford, Mike [LSS] | Date: | Wed, 30 Oct 2002 15:59:34 +0000 |
| Subject: | RE: [PHP] Unsetting Session Variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-122037@lists.php.net to get a copy of this message | ||
> -----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.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211