Re: Bug #13229 - some analysing

From: Date: Tue, 18 Sep 2001 16:28:07 +0000
Subject: Re: Bug #13229 - some analysing
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-66209@lists.php.net to get a copy of this message
mlwmohawk@mohawksoft.com wrote:
Hi f0lks, [part of my first mail (see url at the end of this mail) ] [snip] I don't think this is a bug, it looks like a misunderstanding of the API. (Perhaps it is my misunderstanding ;-)
I'll kill you !!! (j/k) What do you think, when I tell you I've spent a lot of time for analysing session handling? I think YOU haven't read or understood my mail completely!
session_is_registered() seems only to test if you have registered a variable, not if the variable has been retrieved by the session code as of yet.
ACK. (I can't remember I said anything else.)
session_register() should be called regardless of whether or not you need to initialize a variable, so what you need to do seems to be this:
NACK. My way is checking whether the variable is registered and if it's not register it. I've initialized my variables because if I haven't, I could not create a reference to it. I would be happy if anyone understands my problem (look at my first mail) or can tell me what I haven't explained clear enough. PS: my first mail: http://marc.theaimsgroup.com/?l=php-dev&m=100041037915396&w=2 or http://www.generalprotectionfault.de/dev/postings.gpf?dev=2001-09-13-ml-phpdev

« previous php.dev (#66209) next »