RE: [PHP] Sessions?

From: Date: Thu, 05 Oct 2000 08:51:04 +0000
Subject: RE: [PHP] Sessions?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18710@lists.php.net to get a copy of this message
Shut down the browser, and restart it. You may have a stale session id. Also, under Un*x... ls -slagF /tmp The first "section" is your permissions mask. The last 3 digits are "world/other". Make sure they have an "rw" in there (last 3 digits) rw- is okay. rwx is okay. -Szii At 02:16 PM 10/4/00 -0400, Peter Benoit wrote: >I don't know... how could I check? > >* -----Original Message----- >* From: Martin Neimeier [mailto:nei@ibn.de] >* Sent: Wednesday, October 04, 2000 1:30 PM >* To: Peter Benoit >* Cc: php-general@lists.php.net >* Subject: Re: [PHP] Sessions? >* >* >* 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 >* >* -- >* 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 >* >* >* > > >-- >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 >

« previous php.general (#18710) next »