From:             simon at esoft dot dk
Operating system: Gentoo Linux
PHP version:      4.3.3
PHP Bug Type:     Session related
Bug description:  session cookie drop when using Konqueror

Description:
------------
I'm expiriencing a very wierd coincident where my session cookie is
dropped when using Konqueror.

I can reproduce the bug every time I try in my system. However I havn't
been able to make a simple example.

What happens is:

I log in, navigate a little around, open a window with JavaScript
window.open(), after this my session cookie is lost and Konqueror have
gotten a new PHPSESID cookie. I can verify that the session still exists
(we store it in a database), however when printing session_id() out, it
seems Konqueror have sent out a wrong PHPSESID, which is possibly because
the real session id was lost somewhere in the prior request, and now it
have gotten a new one from the system during that request.

So somewhere between Konquerors request and PHP the cookie is lost. Now I
would not think of this as a bug in PHP, but rather the browser, however
I've tried the following:

All versions of Konqueror from 3.0.3 to 3.1.4 looses the cookie.

No other browsers I know of has this problem.

Downgrading to mod_php 4.3.2 resolves this problem, so somethings changed
from 4.3.2 -> 4.3.3

This seems to imply that the bug must reside in PHP, still Konqueror must
do something special with the session cookie compared to other browsers.

I use PHP with Apache2, and I get no error reports in the log files.

I know this is of little help, but it's the best I can do for the moment.


-- 
Edit bug report at http://bugs.php.net/?id=25790&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25790&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25790&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25790&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25790&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25790&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25790&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25790&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25790&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25790&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25790&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25790&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25790&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25790&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25790&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25790&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25790&r=float

Reply via email to