Re: known problems with session_register()?

From: Date: Tue, 03 Apr 2001 08:54:37 +0000
Subject: Re: known problems with session_register()?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-46791@lists.php.net to get a copy of this message
I forgot to mention that I haven't tested session module behavior when script execution is timed out. So it may/ may not be the cause. I set max_execution_time = 300 for file uploading, so I never worried about time out. Does anyone know what happens to session vars in this case? Regards, -- Yasuo Ohgaki ""Yasuo Ohgaki"" <yohgaki@hotmail.com> wrote in message news:OE23c2LU58SEUrzDKi500008508@hotmail.com... > Try register globals off, see if it helps. > (You need to use $HTTP_SESSION_VARS) > > I always set track vars to on (It's always on from 4.0.3(?), if I remember > correctly), register globals OFF. > It works fine. (I use custom session handling functions, though) > > FYI: It seems there is race condition problem in current session module, but it > shouldn't occur that often. I don't know if it's closed or not. Search BugDB if > you need. > > One thing I can think of is your script may be running to long, try to increase > max_execution_time in your php.ini. Session is stored to whatever > (file/mm/user) when script execution is ended. > > Regards, > -- > Yasuo Ohgaki > > ----- Original Message ----- > From: "Felix Kronlage" <fkr-ml@grummel.net> > To: "Yasuo Ohgaki" <yohgaki@hotmail.com> > Cc: <php-general@lists.php.net> > Sent: Monday, April 02, 2001 9:21 PM > Subject: Re: [PHP] known problems with session_register()? > > > > On Mon, Apr 02, 2001 at 09:13:41PM +0900, Yasuo Ohgaki wrote: > > > > > If you are enabled track vars and disabled register globals, all you have to > do > > > is assign values to $HTTP_SESSION_VARS and > > > > both are on. Could there be a problem with session_register() ? > > I do think it's odd, that the same code, on the same box, same > > php, same everything works 80% of the time and fails in 20% of the time. > > (no, there can't be a race-condition). > > > > -fkr > > -- > > gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 > > |http://www.hazardous.org/ | whois -h whois.ripe.de > > FKR-RIPE | > > |all your base are belong to us | shame on me | fkr@IRCnet | > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#46791) next »