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

Lee

At 02:51 PM 7/25/2003, Johnson, Kirk wrote:
Your original code works for me, so it is a config issue somewhere.

Add this code to each file, to verify that the session ID is being correctly
passed:

echo "session id is " . session_id() . "<br>";

Also, is your php.ini in /usr/local/lib? If PHP can't find it, it will use
its built-in defaults, which is register_globals off.

Kirk


----------
Lee Stewart, Senior SE
Sytek Services, a Division of DSG
(719) 566-0188 , Fax (719) 566-0655
[EMAIL PROTECTED]
www.sytek-services.com
www.dsgroup.com



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to