Page 1 of 1

Windows and sessions.

Posted: Fri Aug 15, 2003 3:10 am
by phpuser15
Hi,
Im using apache and PHP 4.0 on windows 98. However whenever I run a script which uses sessions for authentification, I get the following errors:

Warning: open(\tmp\sess_0507dc7685beb05af88a311ff2cf0882, O_RDWR) failed: m (2) in C:\apache\htdocs\script\config.inc.php on line 25


Can anyone tell me whats the problem?

Thanks,
Joe

Posted: Fri Aug 15, 2003 3:39 am
by Seth_[php.pl]
Define your session path in your php.ini file by changing the value of session.save_path. Then should work.

Posted: Fri Aug 15, 2003 6:21 am
by phpuser15
What path should I change it to??

Thanks,
Joe

Posted: Fri Aug 15, 2003 6:49 am
by Seth_[php.pl]
Place you want to store your session datas.
For example: session.save_path = c:\PHP\sessiondata