Re: session_start() in php.ini does not work on Microsoft IIS
| From: | Scott Fletcher | Date: | Mon, 06 Jan 2003 19:24:13 +0000 |
| Subject: | Re: session_start() in php.ini does not work on Microsoft IIS | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130479@lists.php.net to get a copy of this message | ||
Actually, the problem is not the session_start() or hte php.ini. For some
reason, IIS had started to forget that this php.ini is there. So, any
changes to the php.ini I made does not affect the website after stopping,
starting and rebooting IIS.
"Christoph Grottolo" <cg@gordimer.net> wrote in message
news:20030106165556.33324.qmail@pb1.pair.com...
> 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
>
>