Hi All,
Like half of the problems here, mine is also on sessions.
I use a routine described in one of the earlier threads to test sessions. (Code below) This works fine on the webserver. Locally however, I get this error:
Warning: open(/tmp\sess_1883712c848779fce64f8b7b71ad604c, O_RDWR) failed: m (2) in c:\phpdev\www\public\one.php on line 2
What does this mean? (The session data are not passed, I know that much) It looks like it cannot find the right directory to write the session data to. This is probably a setting(?) Where do I set this, and how?
Page one.php:
<?
session_start() ;
session_register(name);
$_SESSION['name'] = 'ednark';
print '<a href="two.php">two</a> ';
?>
Page two.php:
<?
session_start() ;
print $_SESSION['name'];
print '<a href="one.php">one</a>' ;
?>
Thanks!
J.