RE: [PHP4BETA] Session Management/etc

From: Date: Mon, 25 Oct 1999 05:24:13 +0000
Subject: RE: [PHP4BETA] Session Management/etc
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-5676@lists.php.net to get a copy of this message
Whoops, I realize I had not been using the sessions correctly as after I went over things again, and found out some of the session_register('') had the $ in them, thus not registering the variable correctly, and screwing everything up. Nevermind on my question, everything is working as it should be now. Thanks! Jon Mitchiner ICQ # 21030881 AIM # MinotaurT > -----Original Message----- > From: Jon E. Mitchiner [mailto:jon@minotaur.com] > Sent: Monday, October 25, 1999 12:35 AM > To: php4beta@lists.php.net > Subject: [PHP4BETA] Session Management/etc > > > Im having some problems with session management with PHP4 Beta 2. > > I have started the session [session_start();], registered the variable > [session_register('x');], and verified the variable exists in the > session/temp file. > > My problem is when I go in the next php page, and refer to the > variable, it > is empty (e.g. print "X contains: $x<BR>";) shows that it has > nothing in it. > > For every php page I call, I re-run session_start() (I assume that is > correct) but for some reason $x appears empty, when the numbers appear in > the temporary file. Do I need to run something to obtain the data out of > $x, or am I doing something wrong? Perhaps the requirement of using the > global $x feature? > > I would run the latest version of PHP4 CVS tree but I can't seem > to build it > correctly (no visible errors) and it keeps on segfaulting (11). :( > > Yes, enable_track_vars is enabled. > > Thanks! > Jon Mitchiner > ICQ # 21030881 > AIM # MinotaurT > > > -- > PHP 4 Beta >

« previous php.version4 (#5676) next »