Re: Sessions
| From: | Jon Rosenberg | Date: | Wed, 10 Jan 2001 19:47:53 +0000 |
| Subject: | Re: Sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33752@lists.php.net to get a copy of this message | ||
It's using the path for unix to save the sessions, and it looks like you're
on windows. Look for the path directive in the php.ini file and change it
so only the windows path to the sessions save directory is there.
-----------------------------------------------------------------
Jonathan Rosenberg
Be fierce, be fabulous, change the world!
----- Original Message -----
From: "Brandon Orther" <brandon@webintellects.com>
To: "PHP User Group" <php-general@lists.php.net>
Sent: Monday, January 10, 2000 2:45 PM
Subject: [PHP] Sessions
> Hello does anyone know why I get this error when I use this code? I
copied
> straight from the PHP.net manual:
>
> ---------------------
> CODE
> ---------------------
> <?php
> session_register ("count");
> $count++;
> ?>
>
> Hello visitor, you have seen this page <?php echo $count; ?> times.<p>
>
> <php?
> # the <?=SID?> is necessary to preserve the session id
> # in the case that the user has disabled cookies
> ?>
>
>
>
> ---------------------
> ERROR
> ---------------------
>
> Warning: open(/tmp\sess_13514d1d70d505416a47639bc7312c58, O_RDWR) failed:
m
> (2) in C:\Apache\htdocs\br\test.php on line 2
> Hello visitor, you have seen this page 1 times.
>
>
> Warning: open(/tmp\sess_13514d1d70d505416a47639bc7312c58, 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
>
> Thank you,
>
> --------------------------------------------
> Brandon Orther
> WebIntellects Design/Development Manager
> brandon@webintellects.com
> 800-994-6364
> www.webintellects.com
> --------------------------------------------
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>