Re: How does LivePage work?

Stephen Thorne <[email protected]> Sun, 26 Mar 2006 21:46:10 +1000
Newsgroups gmane.comp.python.quotient.dev
Message-ID <20060326114610.22481.269762529.divmod.quotient.5610@ohm>
On Sun, 26 Mar 2006 13:50:15 +0300, pete erikson <[email protected]> wrote:
>Dear list,
>
>I would like to kindly ask you, if you could explain to me, how is it
>possible to send something to a browser on server-side event?
>In another words, how is it done that one can type something into a
>browser-based chat and this is immediately broadcasted to all the
>participants? I assume they do not send requests to the server every moment?

The method used is quite simple.

The client sends a request to the server.
The server doesn't respond until an event occurs.

A HTTP connection can be held on for many minutes before timing out.

Regards,
Stephen Thorne.