Re: Session - Cannot recall variable

From: Date: Tue, 14 May 2002 10:03:53 +0000
Subject: Re: Session - Cannot recall variable
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-13745@lists.php.net to get a copy of this message
Turn on register_globals in your php.ini file. On Tue, 14 May 2002, Donny Hariady wrote: > This is my first experience with PHP session manager. I try the following code: > > session_start(); > print($counter); > $counter++; > session_register("counter"); > > I found that PHP writes a sess_something file in its save_path directory. > When I refresh my browser, PHP updates this file but my browser still empty > and the content of the file is unchanged. I cannot recall my saved variable! > > Somebody help me please... :( > > > Donny Hariady <donny.hariady@bostinco.com> > UIN: 16782504 > > ... General Brain Failure ! (A)bort, (R)etry, (I)gnore, (O)h > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.windows (#13745) next »