Re: server sending notifications to clients
| From: | Adam Zey | Date: | Thu, 08 Jun 2006 15:48:42 +0000 |
| Subject: | Re: server sending notifications to clients | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237632@lists.php.net to get a copy of this message | ||
Barry wrote:
Angelo Zanetti schrieb:You can do it without polling. I've seen web applications that open a neverending GET request in order to get updates to the browser instantaneously. Regards, Adam.kartikay malhotra wrote:Server bored and fooling around with the neighbor servers hardware :P But Ajax would be the best method using. Anyway else isn't possible (well refreshing would be one way) But since you don't want php files to execute forever you will have to stick to AJAX.Hi All, Is there a way for the server to notify the client about an event, provided the client was online in the past X minutes? To elaborate: A client comes online. A script PHP executes (serves the client), and terminates. Now if a new event occurs, how can the server notify the client about that event? Thanks KMwhat kind of event??