RE: [PHP] Session files in /tmp are zero length

From: Date: Wed, 14 May 2003 18:31:26 +0000
Subject: RE: [PHP] Session files in /tmp are zero length
Groups: php.general 
Request: Send a blank email to php-general+get-147637@lists.php.net to get a copy of this message
Do you have cookies enabled in your browser? If not, then two session files would have been created in the 2-page test below, one with 18 bytes, one with 0 bytes. > > > Thanks for the suggestion... Trying your simple test, > page2 comes up > > > with "test is". And I get another new sess_... file in > /tmp, also zero > > > bytes.... > > > > > > Lee > > > > > > Kirk Johnson wrote: > > > > Sorry, I am stumped. I would start out with the simplest test > > > page I could > > > > make, and see if you can get that to work: > > > > > > > > page.php > > > > <? > > > > session_start(); > > > > $test='foobar'; > > > > session_register('test'); > > > > header('Location: page2.php'); > > > > ?> > > > > > > > > page2.php > > > > <? > > > > session_start(); > > > > echo "test is $test<br>";

« previous php.general (#147637) next »