ID: 16194 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Apache related Operating System: Redhat Linux 7.2 PHP Version: 4.1.2 New Comment:
the connection is closed by either the webserver or the client software, not by php you can use connection_status() to detect the cause for the script termination if you still have a connection then your script terminated normaly, if you don't then the client terminated the connection (or the net infrastructure droped it) see also: http://php.net/ignore_user_abort Previous Comments: ------------------------------------------------------------------------ [2002-03-20 18:39:14] [EMAIL PROTECTED] register_shutdown_function doesn't close the connection to the browser when called on RedHat 7.2 Linux PHP 4.1.2. Example: <?php function test() { echo "In test connection_status: " . connection_status() . "<BR>\n"; } register_shutdown_function("test"); echo "In script connection_status: " . connection_status() . "<BR>\n"; ?> END<BR> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16194&edit=1