Jon Stevens <[EMAIL PROTECTED]> writes:
> on 12/27/2000 10:14 AM, "Diethelm Guallar, Gonzalo"
> <[EMAIL PROTECTED]> wrote:
>
> > We have at least two different projects where our clients have asked
> > for the ability to send a proactive message to the client, advising
> > him or her of an exceptional situation. As I understand things, this
> > is not possible in a pure browser model, where the browser has a
> > simple cycle of "read data, send to server, read response, show to
> > user". Therefore, it seems obvious the requirements for proactive
> > messages cannot be supported without some additional mechanism; I can
> > see two ways out:
>
> Yes. Client/Server with a connectionless protocol between the two.
>
> > 1. Have every page refresh itself every N seconds, and show proactive
> > messages when they appear on the server. This is tantamount to
> > polling, is an ugly hack, and I only mention it for completeness.
>
> Not a hack. It actually works pretty well and scales because you don't have
> to leave a connection to the server open.
You can poll more intelligently by having the server calculate the
average data pull interval and using a HTML refresh time value based
on that.
Daniel Rall
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]