ID: 16263 Comment by: bagginsbh at hotmail dot com Reported By: kur at natur dot cuni dot cz Status: No Feedback Bug Type: Session related Operating System: ANY PHP Version: 4.3.0-dev New Comment:
Generally occurs during peak server loads. Intermittently, a new session is created at session_start() call even though the cookie id has not changed. Old session file remains with associated data. New session wipes out all key value pairs resulting in lost data. PHP Version: 4.3.9 Server: Apache 2.0 OS: wsprolinux kernel: 2.6.9-42 Previous Comments: ------------------------------------------------------------------------ [2007-02-20 16:03:58] george at edynamo dot com same problem here - FC4, PHP 5.0.2 - session files are empty. possible solution ( sometimes works ) - use session_register insted of $_SESSION to set a new value to the session ------------------------------------------------------------------------ [2007-02-19 15:11:11] e at sloven dot net I have same problem and I have tried all suggested solutions. Problem still remains. ------------------------------------------------------------------------ [2007-02-16 20:29:24] general at itpsg dot com I am having the same problem. I have tried all the suggestions here. One system is fedora core 4 the other is fedora core 5. Updating the packages does not help. Setting charset does not help. Adding 0; to the save_path does not help. The save path has the appropriate permissions. The session file is created but always empty. Using session_write_close has no effect. We developed the application, fully tested, went to deploy and now this is blowing everything up...ouch! ------------------------------------------------------------------------ [2007-02-07 09:35:10] morten at vianett dot no Same problem using v5.2.0 I get empty sess_ files in /tmp I have had this problem many times before. It seems that it works if its installed on a sunny day.. ------------------------------------------------------------------------ [2007-01-18 19:20:45] par at tor dot se Try to change this: session.save_path = "0;c:\program files\php\tmp" don't forget to use the 0; before the path. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16263 -- Edit this bug report at http://bugs.php.net/?id=16263&edit=1