Re: known problems with session_register()?

From: Date: Tue, 03 Apr 2001 08:34:05 +0000
Subject: Re: known problems with session_register()?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-46787@lists.php.net to get a copy of this message
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 | > >

« previous php.general (#46787) next »