The symptom is that when I attempt to save a session variable, it creates the session file in /tmp, but with a zero length - no variable names or values stored. (/tmp is globally read/write) This happens not only with the application I'm moving, but also with the "world's simplest global test pages" below.
[page1.php] <? session_start(); session_register('test'); $test='foobar'; header('Location: page2.php'); ?>
[page2.php] <? session_start(); echo "test is $test<br>"; ?>
You can try it yourself at http://4.43.81.92/page1.php and also see PHPinfo at http://4.43.81.92/phpinfo.php
Because no one else seems to have this problem, I assume it's something on my system, or in the way things are set up, as opposed to a PHP code problem. What I'm looking for is any hints or tips of how to begin debugging it and finding how come it will create the session files, but leave them with zero length and no information...
Any suggestions would be appreciated... Lee Stewart
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php