Bug #9442 Updated: session blocking, version: all including 4.0.4pl1
| From: | sniper@php.net | Date: | Fri, 15 Jun 2001 03:26:08 +0000 |
| Subject: | Bug #9442 Updated: session blocking, version: all including 4.0.4pl1 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56943@lists.php.net to get a copy of this message | ||
ID: 9442
Updated by: sniper
Reported By: Xuefer@21cn.com
Old-Status: Open
Status: Feedback
Bug Type: *Session related
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:
Does this happen with latest CVS snapshot from http://www.zend.com/snapshots/ ??
Previous Comments:
---------------------------------------------------------------------------
[2001-02-25 09:25:59] Xuefer@21cn.com
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
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9442&edit=2