Connection handling and output_buffering

From: Date: Mon, 23 Feb 2004 15:39:04 +0000
Subject: Connection handling and output_buffering
Groups: php.general 
Request: Send a blank email to php-general+get-178528@lists.php.net to get a copy of this message
Hi guys, Was reading through: http://uk.php.net/manual/en/features.connection-handling.php And I was wondering how PHP handles script termination when you have 'output_buffering = On' in your php.ini? If I have a long script that does lots of database stuff for example, and is riddled with echo() function calls, how will php handle a user clicking stop in their browser half way through? I'm guessing that it WILL continue execution to the end, then when you send the buffer back to the client it determines that the client stopped the request and it terminates. I guess some simple testing will suffice! Neko

« previous php.general (#178528) next »