Re: PHP Sessions on Windows
| From: | Daniel Clark | Date: | Wed, 12 May 2004 04:37:46 +0000 |
| Subject: | Re: PHP Sessions on Windows | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185950@lists.php.net to get a copy of this message | ||
Sounds right.
Do you have a C:\temp directory?
>>How does one get sessions working on Windows? I have modified my php.ini
>>file so that session.save_path = C:\Temp, restarted and Apache. Still I get
>>this error message:
>>
>>Warning: session_start(): open(/tmp\sess_26310affee160329c9e50f27663f8971,
>>O_RDWR) failed: No such file or directory (2) in
>>c:\apache\htdocs\dbmdata\admin\61646d696e.php on line 2
>>
>>This is the code that is triggering the error. It seems very straightforward
>>to me:
>>
>>session_start();
>> echo $_SESSION['user'];
>>