On Tue, 2 May 2006 12:43:48 +0100, "Charles Law" <>
wrote:
>What I mean is, I want my web client to be updated in real-time.
>
>The scenario is that I have a database that is updated asynchronously, and
>when the update takes place I want to 'notify' my web clients so that they
>can display new information. This must be a push rather than a pull, so I
>don't want to use a timer on the client.
>
Web applications are connectionless. There cannot be a push because
the Web server has no way to push something to a specific client.
What you're asking for would probably be best accomplished using
XMLHTTP. It would be easy enough to return a Boolean indicating
whether or not data have changed. When they have, you could also use
the same method to update only that portion of the page that has
changed.
Jim Cheshire
Blog:
http://blogs.msdn.com/jamesche