PHP 4.0 Bug #10221: Double session bug
| From: | sicco at uwnet dot nl | Date: | Sat, 07 Apr 2001 12:09:47 +0000 |
| Subject: | PHP 4.0 Bug #10221: Double session bug | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51101@lists.php.net to get a copy of this message | ||
From: sicco@uwnet.nl
Operating system: Win2000
PHP version: 4.0.4pl1
PHP Bug Type: *Session related
Bug description: Double session bug
When a session is used by a 'main' script which causes a new browser window popup that
also needs the session information (the session is called twice independently by the same user in
one mouse-click) the session will be destroyed most of the time and sometimes PHP crashes. This
problem occurs too when a shockwave object is loaded that also calls for the session information.
It is possible to prevent this autodestruct by putting an empty echo (e.g.: echo "";)
after the second time the session is called (with: session_start();).
I'm using MySQL for session storage, maybe this causes the problem.
--
Edit Bug report at: http://bugs.php.net/?id=10221&edit=1