Hi everybody,
I installed PHP 4.2.2 on my PC with Apachi 2.0.4,
everything is working fine except when I try to use sessions from an example from the manual:
<?
if (!session_is_registered('count')) {
session_register('count');
$count = 1; } else $count++;
?>
Hello visitor, you have seen this page <?php echo $count; ?> times.<p>
It give the following error:
Warning: open(/tmp\sess_6ab1a6131f2b4d01dddcd4a13ce388ec, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Group\Apache2\htdocs\Test\SessionCounter.php on line 3
Warning: open(/tmp\sess_6ab1a6131f2b4d01dddcd4a13ce388ec, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
How can I correct things to make everything works smoothly?
PLEASE HELP.