RE: [PHP] Sessions?
| From: | Peter Benoit | Date: | Wed, 04 Oct 2000 17:33:07 +0000 |
| Subject: | RE: [PHP] Sessions? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18627@lists.php.net to get a copy of this message | ||
The webserver is hosted by a company. Is the /tmp directory a directory I
need to make? Or is it something else? I don't have access to this box
except for my share.
* -----Original Message-----
* From: Tim Converse [mailto:tconv@excite.com]
* Sent: Wednesday, October 04, 2000 1:32 PM
* To: Peter Benoit; php-general@lists.php.net
* Subject: Re: [PHP] Sessions?
*
*
* Peter --
*
* The session machinery was trying to record info by writing
* it to a file in
* the /tmp directory, and that file write failed for one
* reason or another.
* Some things to check:
*
* 1) Do you have a /tmp directory on your webserver's file system?
* 2) If so, does it have any free space?
* 3) What are the permissions for writing into tmp?
*
* --tim
*
* On Wed, 4 Oct 2000 13:20:06 -0400 , 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
* ----
* Support me and PHP at the same time. :)
* Order the PHP 4 Bible using http://www.php.net/books.php.
*
*
*
*
*
* _______________________________________________________
* Say Bye to Slow Internet!
* http://www.home.com/xinbox/signup.html
*
*
*