Re: [PHP] server sending notifications to clients

2006-06-09 Thread Richard Lynch
On Thu, June 8, 2006 9:24 am, kartikay malhotra wrote: 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

Re: [PHP] server sending notifications to clients

2006-06-08 Thread Brad Bonkoski
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

Re: [PHP] server sending notifications to clients

2006-06-08 Thread Angelo Zanetti
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

RE: [PHP] server sending notifications to clients

2006-06-08 Thread Jay Blanchard
[snip] 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

RE: [PHP] server sending notifications to clients

2006-06-08 Thread Jim Moseby
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

Re: [PHP] server sending notifications to clients

2006-06-08 Thread Barry
Angelo Zanetti schrieb: 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

Re: [PHP] server sending notifications to clients

2006-06-08 Thread Adam Zey
Barry wrote: Angelo Zanetti schrieb: 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.

Re: [PHP] server sending notifications to clients

2006-06-08 Thread kartikay malhotra
Dear Adam, 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. Kindly elaborate on neverending GET request. Shall I call the script from within itself? Regards KM On 6/8/06, Adam

Re: [PHP] server sending notifications to clients

2006-06-08 Thread Adam Zey
kartikay malhotra wrote: Dear Adam, 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. Kindly elaborate on neverending GET request. Shall I call the script from within itself?