Re: Sessions?
| From: | Martin Neimeier | Date: | Wed, 04 Oct 2000 17:30:27 +0000 |
| Subject: | Re: Sessions? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18632@lists.php.net to get a copy of this message | ||
Peter Benoit wrote:
>
> Hi
>
> Using this code:
>
> <?
> session_start();
> $my_session_variable = "whatever";
> session_register("my_session_variable");
> ?>
> <html>
>
> <head>
>
> I get this error:
>
> Warning: open(/tmp/sess_1fd6847c7094c48115f924879ff2154b, O_RDWR) failed: m
> (2) in e:\www\iguy.net\new.php4 on line 2
>
> Warning: open(/tmp/sess_1fd6847c7094c48115f924879ff2154b, O_RDWR) failed: m
> (2) in Unknown on line 0
>
> Warning: Failed to write session data. Please check that the current setting
> of session.save_path is correct (/tmp) in Unknown on line 0
>
> Any ideas why?
>
> Thanks,
> Pete
>
> --
> 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
Hello,
does the user, under whose account the webserver runs, have write-acces to /tmp ?
cu
Martin
--
UNIX was never designed to keep people from doing stupid things, because
that policy would also keep them from doing clever things. (Doug Gwyn)
--
Martin Neimeier/Ingenieur-Buero Neimeier/Schwarzach/Germany
mailto:nei@ibn.de/http://www.ibn.de(under
heavy
reconstruction)/Tel:+49(6262)912344/Fax:+49(6262)912347