note 88618 deleted from function.sleep by danbrown
| From: | danbrown@php.net | Date: | Sun, 01 Feb 2009 04:45:14 +0000 |
| Subject: | note 88618 deleted from function.sleep by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150052@lists.php.net to get a copy of this message | ||
Note Submitter: Tim
----
Has anyone tried this function to simulate server push to a browser?
E.g. Browser sends a xmlhttp request, PHP keeps connection open using a loop with
'sleep(5)' or 'sleep(10)', until 50 seconds is up, or the necessary change is
made. Whichever comes first.