Windows and sessions.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
phpuser15
Forum Newbie
Posts: 3
Joined: Fri Aug 15, 2003 3:10 am

Windows and sessions.

Post 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
User avatar
Seth_[php.pl]
Forum Commoner
Posts: 30
Joined: Sun Aug 10, 2003 5:25 am
Location: Warsaw / Poland

Post by Seth_[php.pl] »

Define your session path in your php.ini file by changing the value of session.save_path. Then should work.
phpuser15
Forum Newbie
Posts: 3
Joined: Fri Aug 15, 2003 3:10 am

Post by phpuser15 »

What path should I change it to??

Thanks,
Joe
User avatar
Seth_[php.pl]
Forum Commoner
Posts: 30
Joined: Sun Aug 10, 2003 5:25 am
Location: Warsaw / Poland

Post by Seth_[php.pl] »

Place you want to store your session datas.
For example: session.save_path = c:\PHP\sessiondata
Post Reply