php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4625 Session fails to write file
Submitted: 2000-05-26 22:30 UTC Modified: 2000-08-01 22:52 UTC
From: james at clickhouse dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0 Release Candidate 2 OS: RedHat Linux 6.0 - Linux 2.2.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: james at clickhouse dot com
New email:
PHP Version: OS:

 

 [2000-05-26 22:30 UTC] james at clickhouse dot com
Session management seems to be writing the /tmp/sess_[md5] file quite inconsistantly.  Sometime it creates a blank file, sometimes it write the file the first time, and never writes it again.

Two object instances are being stored.  session_register() is called for each immediately before it's existance is checked by the script.  

It may be worthwhile to note that the session cookie is renamed before session_start() is called, and all calls to session functions are made from within other functions.

PHP4-RC2 is build with: 
./configure --host="i686-pc-linux-gnu" \ 
--with-mysql=/usr/local \ 
--with-apache=$APSRCDIR \ 
--enable-track-vars \ 
--enable-sysvshm \ 
--enable-sysvsem \ 
--enable-debugger \ 
--disable-short-tags; 

Apache 1.3.12 is built with: 
--activate-module=src/modules/php4/libphp4.a 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-06 08:58 UTC] sas at cvs dot php dot net
Are you using a handler for your Apache log files (i.e. rotatelogs)? The observed behaviour has been experienced by users who have many virtualhosts and who use rotatelogs extensively.
 [2000-07-06 21:57 UTC] james at clickhouse dot com
We don't have any custom log handlers, nor virtual hosts.  There are a lot of mod_perl content handlers though.

The problem has not resurfaced lately, so perhaps something else has changed in the CVS tree for the project that has eliminated the problem.  I was beginning to suspect a lack of filehandles, or some such problem.
 [2000-08-01 22:52 UTC] waldschrott@php.net
was forgotten to be closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 16:01:29 2024 UTC