note 82407 added to function.connection-status

From: Date: Wed, 09 Apr 2008 17:01:02 +0000
Subject: note 82407 added to function.connection-status
Groups: php.notes 
Request: Send a blank email to php-notes+get-138067@lists.php.net to get a copy of this message
Good idea for DB engines like MySQL with MyISAM which do not support transactions. But imagine that user requests a page with many (hundred) image thumbnails. Or if a PDF is generated from a HTML on-the-fly. This usually takes several minutes and if the user does not want to wait and aborts connection - PHP continues until all work is done. In my opinion it will be MUCH more smarter (PHP is mature enough) to use signalling and terminate script immediately when connection is aborted instead of making presumptions that script author will continuously doing output and periodically flushing output buffer just in order to detect connection abort. Mhm .... ---- Server IP: 217.75.128.29 Probable Submitter: 91.148.174.15 ---- Manual Page -- http://www.php.net/manual/en/function.connection-status.php Edit -- https://master.php.net/note/edit/82407 Del: integrated -- https://master.php.net/note/delete/82407/integrated Del: useless -- https://master.php.net/note/delete/82407/useless Del: bad code -- https://master.php.net/note/delete/82407/bad+code Del: spam -- https://master.php.net/note/delete/82407/spam Del: non-english -- https://master.php.net/note/delete/82407/non-english Del: in docs -- https://master.php.net/note/delete/82407/in+docs Del: other reasons-- https://master.php.net/note/delete/82407 Reject -- https://master.php.net/note/reject/82407 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#138067) next »