ID:               25970
 User updated by:  catia at catho dot com dot br
 Reported By:      catia at catho dot com dot br
-Status:           Feedback
+Status:           Open
 Bug Type:         Session related
 Operating System: Debian 3.0 Linux 2.4.20
 PHP Version:      4.3.2
 New Comment:

ignore_user_abort(true)  didnīt help...

some how, system canīt see that php fails, or take too much time, to
delivery the page and the user press "Reload"

May we set some time limit to the session file be lock in a single
request?


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

[2003-10-23 22:22:07] [EMAIL PROTECTED]

ignore_user_abort(true); is always a good idea.

But try a newer version, the problem may have went away.

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

[2003-10-23 15:45:57] catia at catho dot com dot br

Description:
------------
Session management fails when I stop the browser while a PHP page is
loading.
As soon as the browser requests a file with a session_start or
session_register command the browser gets in a
kinda endless loop and the session file stay open. The browser keeps
waiting and waiting and nothing happens (nothing appears on the
screen).

I tryed to list the open files on system (lsof) when this happen.
And, see my session file opened by a httpd process for 20 minutes, even
when the browser has canceled the requisition. 

While the command : lsof | grep sess_SESSIONID return the file open, I
could not access any page with session_start() or session_register().

Pparently the apache process has locked the file, and any other process
can read it (the session file)

I'm using PHP4.3.2 / Debian 3.0 Linux 2.4.20 / Apache 1.3.28
My configure command:
'./configure'
'--with-mysql=../mysql/mysql-standard-4.0.12-pc-linux-i686'
'--with-apache=../../apache/build_deb/deb2/apache-1.3.28'
'--enable-track-vars'
'--disable-debug' '--with-gd' '--enable-ftp'
'--enable-inline-optimization'
'--enable-sockets' '--with-zlib' 



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


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

Reply via email to