ok,
I've added this to my .htaccess file:
php_value session.save_path /home/account/www.site.com/sesstmp
and it's sorted the problem of the error, but it still dosnt work:
http://www.site.com/dir/dir/page.php
I have:
session_start();
$SESSION['refPage'] = 'ok';
echo $SESSION['refPage'];
On this page:
http://www.site.com/dir/dir/page2.php
I have:
session_start();
echo $_SESSION['refPage'];
And this works, it prints "OK"
But when i try the same on this page:
http://www.site.com/page.php
I dosnt work, there are no errors, it just looks like its not picking up the session.
Could this be because it is futher down the directories???
How can i solve this problem.
Thanks again for the help.