From:             catia at catho dot com dot br
Operating system: Debian 3.0 Linux 2.4.20
PHP version:      4.3.2
PHP Bug Type:     Session related
Bug description:  Session management fails when I stop the browser while a PHP page is 
loading.

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

Reply via email to