Re: server sending notifications to clients

From: Date: Thu, 08 Jun 2006 14:28:09 +0000
Subject: Re: server sending notifications to clients
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-237615@lists.php.net to get a copy of this message
kartikay malhotra wrote:
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? Don't think it can....
But you can have the client (think AJAX) continuously 'poll' the server, and then the server can send updates back if necessary. -Brad
Thanks KM


« previous php.general (#237615) next »