Re: Unsetting Session Variables

From: Date: Wed, 30 Oct 2002 17:15:51 +0000
Subject: Re: Unsetting Session Variables
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-122056@lists.php.net to get a copy of this message
I can't say that I've noticed this in 4.2.3. I just wrote an application where all I used was $_SESSION and unset() and it worked perfectly. ---John Holmes... ----- Original Message ----- From: "Marek Kilimajer" <kilimajer@webglobe.sk> To: "PHP" <php-general@lists.php.net> Sent: Wednesday, October 30, 2002 11:34 AM Subject: Re: [PHP] Unsetting Session Variables > 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.uk > >Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#122056) next »