RE: [PHP] Sessions
| From: | John Holmes | Date: | Sat, 04 May 2002 23:22:12 +0000 |
| Subject: | RE: [PHP] Sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96080@lists.php.net to get a copy of this message | ||
Yes, modify your php.ini file to tell PHP where to write the session to.
It's trying to write it to /tmp, which is either not a valid file, or
PHP doesn't have permissions to write a file there.
---John Holmes...
> -----Original Message-----
> From: Alex Francis [mailto:afrancis@camerondesign.co.uk]
> Sent: Saturday, May 04, 2002 10:23 AM
> To: php-general@lists.php.net
> Subject: [PHP] Sessions
>
> Newbie question
>
> I have installed PHP 4.1.2 on a Windows 2000 for test purposes. I have
> never
> used sessions before and am having difficulty with them.
>
> I am using
>
> session_start(); and get the following error.
>
> Warning: open(/tmp\sess_51d4849918d3ffe4d2cc70013d678f6b, O_RDWR)
failed:
> No
> such file or directory (2)
>
> I have session support enabled, is there something else I need to do.
>
> --
> Alex Francis
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php