I'm new in PHP and I'm trying to use PHP4 buit-in sessions.
I beleive thsi is a configuration problem since the code below:
<?php
session_start();
if( !isset($currInfo) ) $currInfo = "";
if( !isset($currPG) ) $currPG = "";
$currInfo = $ID;
$currPG = $PG;
session_register("currInfo");
session_register("currPG");
?>
produces the following errors:
Warning: open(/tmp/sess_a6791e0a3dcb0e230aff571697a39e28, O_RDWR) failed: m (2) in D:\LocalSites\Mrg\info.php on line 2
Warning: open(/tmp/sess_a6791e0a3dcb0e230aff571697a39e28, O_RDWR) failed: m (2) in Unknown on line 0
Warning: Failed to write session data. Please check that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
PHP couldn't read or write to my session file. The track_var and register_globals are "on".
Please help me !!!!