Sorry, I am stumped. I don't see any problems in the .ini file. Have you tried some simple code in "register_globals off" style?
<? session_start(); $_SESSION['test'] = 'foobar'; header('Location: page2.php'); ?> <? session_start(); echo "test is {$_SESSION['test']}<br>"; ?> Kirk > -----Original Message----- > From: Lee Stewart [mailto:[EMAIL PROTECTED] > Sent: Friday, July 25, 2003 4:27 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] Debugging a Session Problem > > > I agree that it's probably a config problem -- somewhere... > > Yes, the session ID is passed correctly, but since page1.php > doesn't end up > with any variables or values in the session file, so > regardless that it has > the right session ID, there's nothing in the session file to > restore... > > The php.ini file is in /etc/php.ini (but that's where it's > supposed to be > in this distribution), and phpinfo shows it there, and when I turn > register_globals on and off there, I see it change both in > phpinfo and from > a php script. > > And if you want to look, a copy of my php.ini is available at > http://4.43.81.92/phpini.txt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php