Plz help to solve my problem.
| From: | Elaine Kwek | Date: | Tue, 17 Dec 2002 05:07:39 +0000 |
| Subject: | Plz help to solve my problem. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-128511@lists.php.net to get a copy of this message | ||
I am now trying to use php session control in my web application. i try to
copy a coding an test it...but it come out error. i not sure how to solve
it. Plz help me...I using Apache server.
the code sample is like this:
<?
session_start();
session_register("sess_var");
$sess_var = "Hello world!";
echo "The content of \$sess_var is $sess_var<br>";
?>
And this is the result of the page:
Warning: open(/tmp\sess_c0fe7c6a4524488a979e20d90b2eebb2, O_RDWR) failed: No
such file or directory (2) in c:\Program Files\Apache
Group\Apache\htdocs\Office_Management_System\tmp\page1.php on line 3
The content of $sess_var is Hello world!
Warning: open(/tmp\sess_c0fe7c6a4524488a979e20d90b2eebb2, 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
thanx to whom reply to me...
Elaine Kwek