disco
11-18-2002, 04:14 PM
Hi,
I'm relatively new to php and have got a bit of a prob with some session stuff I'm trying to implement.
I've got a login html page that calls a php script called authentication.php.
The first thing this script does is session_start(); on line 2 before doing the rest of the stuff e.g. verifying username and pass exist in db. When they're found to be successful I then register the session as the username.
However, when I test the script on my Win 98 pc I get the following error:
Warning: open(C:\PHP\sessiondata\sess_d0ff6f7919ed63862f3f1226d6c3cf17, O_RDWR) failed: m (2) in c:\program files\apache group\apache\htdocs\authenticate.php on line 2
Does anyone know what this is all about?
Any help will be much appreciated.
Cheers.
I'm relatively new to php and have got a bit of a prob with some session stuff I'm trying to implement.
I've got a login html page that calls a php script called authentication.php.
The first thing this script does is session_start(); on line 2 before doing the rest of the stuff e.g. verifying username and pass exist in db. When they're found to be successful I then register the session as the username.
However, when I test the script on my Win 98 pc I get the following error:
Warning: open(C:\PHP\sessiondata\sess_d0ff6f7919ed63862f3f1226d6c3cf17, O_RDWR) failed: m (2) in c:\program files\apache group\apache\htdocs\authenticate.php on line 2
Does anyone know what this is all about?
Any help will be much appreciated.
Cheers.