Hi...
Has anyone used PHP on SuSE SLES 8?  Session variables?

I have a PHP application that uses session variables, which is supposed to
write the session file in /tmp.  But instead of writing a file with the
session variables & values, I get zero length files.

The application runs great under an older TurboLinux system, but moving it
to the new SuSE server it fails.  I've asked on the PHP list and verified
the application code is correct.  So before I try to rip out the PHP that
comes with it and update it, I thought I'd see if anyone else has seen this...

Thanks...
Lee

PS: Here's the world's simplest test to see if it's working...

-- page.php --
<?
session_start();
$test='foobar';
session_register('test');
header('Location: page2.php');
?>

-- page2.php --
<?
session_start();
echo "test is $test<br>";
?>


---------- Lee A. Stewart Senior Systems Engineer Sytek Services, a division of DSG www.sytek-services.com www.dsgroup.com Email: [EMAIL PROTECTED] Phone: (719) 566-0188 Fax: (719) 566-0655

Reply via email to