PHP 4.0 Bug #9442: session blocking, version: all including 4.0.4pl1
| From: | Xuefer at 21cn dot com | Date: | Sun, 25 Feb 2001 14:25:59 +0000 |
| Subject: | PHP 4.0 Bug #9442: session blocking, version: all including 4.0.4pl1 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47469@lists.php.net to get a copy of this message | ||
From: Xuefer@21cn.com
Operating system: Window2000
PHP version: 4.0.4pl1
PHP Bug Type: *Session related
Bug description: session blocking, version: all including 4.0.4pl1
session blocking?
-----------------
when session start started
in the multi-framed webpage
if one frame did not finished running(keeping-alive and conneting), the other frame(using the same
session id) will blocked until that frame finished
-----------------
often, an web-irc would like to keep one frame alive until user quit, when running it does
soemthings, but other frames not work this time!!!
this problem not only bad for that keeping-alive php program to sessoin, but also bad for normal
multi-frame's run speed, becos only one php running for 1 user, if no blocking, 2 or more
running the same time.
if i use session_set_save_handle to use my own save handle, the problem went! is that the problem
which internal session save handle used the file lock?
locking sessoin file until php program exited and session saved?
so how the other frame used by the same user works well?
-----------------
pls, fix it, find a way
but if fixed, another problem still covered
perhaps both frame1.php and frame2.php running
if frame1.php changed the session, will it effect in frame2 immediately?
-----------------
example is in:
http://www.phpwizard.net/phpChat
it use http://www.phpwizard.net/phpIRC
it works ok it php3, becos phpChat have its own session support, and was turned off in php4
so session blocking in php4
--
Edit Bug report at: http://bugs.php.net/?id=9442&edit=1