On Thu, Nov 12, 2009 at 1:53 PM, Nicolas George <nicolas.geo...@normalesup.org> wrote: > There is an increasingly popular technique to emulate server-initiated push > over HTTP. I'm sure everyone here knows it well, but for the sake of > completeness: the clients sends a XMLHttpRequest to the server in the > background; the server does not answer it immediately, but keeps it for > later when there is actually something to say to the client; if the request > timeouts, the client re-sends it.
I think you'd be better off using polling. There are tools for this in the popular JS frameworks. - Perrin