Guest_imported
New member
- Jan 1, 1970
- 0
hi,
I have successfully installed php,mysql,perl on apache server(local server) which is running on win2k os.Everthing works allright.However,for the first time i started learning about sesssion.I tried the following code.
<?
session_start();
session_register('count');
$count++;
echo "<P>You've been here $count times.</p>";
?>
but i am getting problem saying ,
----------
Warning: open(/tmp\sess_453e4e1046e0ad6fb2a57d416f759774, O_RDWR) failed: m (2) in c:\ on line 2
You've been here 1 times.
Warning: open(/tmp\sess_453e4e1046e0ad6fb2a57d416f759774, O_RDWR) failed: m (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
-----------------
I have noticed i get this error when i use session code. I have tested the same code on other oline server.It's works finem but it does not work on my local serever.
I guess php is not able make folder call tmp. is there anyway that i can make it work, or mentioning the session path,where and how ?
Any help will be great...
Thanks for ur time ..
netmastan
I have successfully installed php,mysql,perl on apache server(local server) which is running on win2k os.Everthing works allright.However,for the first time i started learning about sesssion.I tried the following code.
<?
session_start();
session_register('count');
$count++;
echo "<P>You've been here $count times.</p>";
?>
but i am getting problem saying ,
----------
Warning: open(/tmp\sess_453e4e1046e0ad6fb2a57d416f759774, O_RDWR) failed: m (2) in c:\ on line 2
You've been here 1 times.
Warning: open(/tmp\sess_453e4e1046e0ad6fb2a57d416f759774, O_RDWR) failed: m (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
-----------------
I have noticed i get this error when i use session code. I have tested the same code on other oline server.It's works finem but it does not work on my local serever.
I guess php is not able make folder call tmp. is there anyway that i can make it work, or mentioning the session path,where and how ?
Any help will be great...
Thanks for ur time ..
netmastan