Re: session_start() in php.ini does not work on Microsoft IIS
| From: | Christoph Grottolo | Date: | Mon, 06 Jan 2003 16:52:23 +0000 |
| Subject: | Re: session_start() in php.ini does not work on Microsoft IIS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130445@lists.php.net to get a copy of this message | ||
Scott Fletcher wrote:
> <?
> $salt="C4155DDAF13A529594FB7C2541F4D4C7";
> session_start($salt);
>>
>
> This is the error messages....
>
> --clip--
> Warning: open(/tmp\sess_C4155DDAF13A529594FB7C2541F4D4C7, O_RDWR)
> failed: m (2) in D:\DealPack\....... on line 24
>
> Warning: open(/tmp\sess_C4155DDAF13A529594FB7C2541F4D4C7, 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
> --clip--
You must set session.save_path to a valid windows path (i.e. "c:\temp" or
"c:\sessions" AND the directory must already exist.
Christoph