#19029 [Com]: Session data randomly disappearing and logging users out

From: Date: Thu, 22 Aug 2002 11:27:10 +0000
Subject: #19029 [Com]: Session data randomly disappearing and logging users out
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17521@lists.php.net to get a copy of this message
 ID:               19029
 Comment by:       phpbugs@mx4k.com
 Reported By:      rossr@reactive.com
 Status:           Open
 Bug Type:         Session related
 Operating System: Linux (2.4 Kernal)
 PHP Version:      4.2.2
 New Comment:

hi, try to turn on error logging to a file in php.ini. I'm experiencing
the same problem and my logfile is filled with:

[22-Aug-2002 13:24:08] PHP 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
[22-Aug-2002 13:24:29] PHP 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
[22-Aug-2002 13:24:40] PHP 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


http://bugs.php.net/bug.php?id=19022


Previous Comments:
------------------------------------------------------------------------

[2002-08-21 21:34:47] rossr@reactive.com

For the most part our sessions work fine. However at random times the
session data appears to just disappear and the user is logged out. They
can then log straight back in no problems and create a new session.

Due to it's random nature this is really hard to track down and provide
anything that can replicate it. It happens across different browsers
and platforms.

PHP is running as the CGI version with Apache/1.3.19 (Unix) and the
site has FrontPage/5.0.2.2510 extensions.

The session settings for our PHP.ini file is as follows:

Directive 		    Local Value Master Value 
=========================== =========== ==============
session.auto_start	 	Off 		Off 
session.cache_expire	 	180 		180 
session.cache_limiter	 	nocache 	nocache 
session.cookie_domain	 	no value 	no value 
session.cookie_lifetime	 	0 		0 
session.cookie_path	 	/ 		/ 
session.cookie_secure	 	Off 		Off 
session.entropy_file	 	no value 	no value 
session.entropy_length	 	0 		0 
session.gc_maxlifetime	 	1440 		1440 
session.gc_probability	 	1 		1 
session.name			PHPSESSID 	PHPSESSID 
session.referer_check	 	no value 	no value 
session.save_handler	 	files 		files 
session.save_path		/tmp 		/tmp 
session.serialize_handler	php 		php 
session.use_cookies		On 		On 
session.use_trans_sid		1 		1 



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19029&edit=1



Thread (7 messages)

« previous php.bugs (#17521) next »