ID:               43579
 Updated by:       [EMAIL PROTECTED]
 Reported By:      assid at assid dot com
 Status:           Open
 Bug Type:         Session related
 Operating System: Debian etch
 PHP Version:      5.2.5
 New Comment:

There is only a single trivial change to the session extension between
5.2.4 and 5.2.5 and it was to fix http://bugs.php.net/42596

The change is here:

http://cvs.php.net/viewvc.cgi/php-src/ext/session/mod_files.c?r1=1.100.2.3.2.9&r2=1.100.2.3.2.10&pathrev=PHP_5_2&diff_format=u

I don't see how this change could have caused these problems.  Could
you please verify that 5.2.4 works under the exact same conditions that
5.2.5 doesn't work?  That is, on the same machine, built the same way
and running the same code.


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

[2008-02-26 08:27:56] assid at assid dot com

Hrm, strange, i dont use xcache. But yeah session integrity is messed
up.

Looks like we gotta wait for 5.2.6 and hope the developers fixed that
bug. It does seem php5.2-200802241730  is still not done, as a matter of
fact, the session file in -dev seems to disappear, whereas atleast in
5.2.5 it remains. (very little testing in -dev btw). So its gone from
bad to worse.

- Data integrity ? -
Another important note, is that phpmyadmin acts super strange as well.
The css i believe is generated on the fly, that goes awry and sql
queries start yielding no results. I am not sure if this is session
related. or not!

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

[2008-02-26 08:02:18] jsnyxx at gmail dot com

Rasmus -- verified that this issue (PHP session being randomly lost) is
also occurring for us on php 5.2.5 but not php 5.2.4 on our Linux Centos
4.4 box.

Please also see here for our own reproduce code:

http://xcache.lighttpd.net/ticket/163

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

[2008-02-25 14:23:44] assid at assid dot com

I have to downgrade to 5.2.4, as this is a production box. Please let
me know when you are available, and I will load the necessary module at
that moment.

I am also available on IRC / freenode as Assid

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

[2008-02-25 13:12:46] assid at assid dot com

With regards to session files and squirrelmail

I checked the part that you told me. The headers look exactly the same.
Sometimes I get the session kicking me out. The headers during which,
looks exactly the same as the ones when it doesnt kick me out. However,
sometimes i just rightclick in that frame and reload frame and it works,
or i click on any of the available imap folders on the left side.

During the time it kicks me out, the session file still exists, would
explain WHY i can still continue using AFTER that. 

from my previous test and this into consideration, i would GUESS its
something to do with session generation / session file handling or
something related to this.

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

[2008-02-25 08:30:07] assid at assid dot com

okay here you go, 5 hours of sleep helped a bit.

http://spherelinx.com/session.php
Now refresh this slowly (i mean one F5 per second or 2 seconds), till
you hit something like 8-10.

Now press F5 rapidly (dont hold), like 5-8 times. You end up with a new
counter. 

Refresh this counter slowly, and again repeat the above step. Sometimes
you get it to go back to the older counter.

reproduce code: http://spherelinx.com/session.phps
phpinfo - http://spherelinx.com/phpinfo.php

>From my guess, session_name fails or causes some kind of glitch

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

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/43579

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

Reply via email to