Hi there.
I've got this problem when using sessions, though not all the time, depending on webbrowser the ration is 40-70% of the times I try.
The code looks something like this:
<?
session_start();
if (isset($_SESSION['login']))
echo "logged in";
else
$_SESSION['login'] = $user;
// $user is not NULL
?>
the errorcode this generates is:
Warning: open(/tmp/sess_47999ee2643d6ff8f4329c37638ca7da, O_RDWR) failed: Permission denied (13) in /path/thisfile.php4 on line 2
and yes /tmp is world writeable.
and since register_globals is set to off, I shouldn't use session_register("variables") if I understand it correctly.
I've tried averything I could come up with but with no luck.
Anyone knows how to solve this, you'll be my hero.