Hi,
I'm working a web application using comet (Orbited) for real-time
status updates and messaging. The messaging system works great, but
I've noticed that if I disconnect my laptop internet connection, and
then reconnect it the messaging does not reload with the connection.
It seems that gmail/googletalk implement a feature whereby the chat
section attempts to reconnect every 60s or so even when the internet
connection is down. When the connection comes back up it then
automatically reconnects.
Is there an simple, concise way of implementing this sort of
reconnection in client-side javascript? Is gmail/googletalk even
accomplishing this via javascript? Do I perhaps only need to set a
simple timed refresh?
I spent a bit of time searching this list and google/yahoo for
things like "javascript refresh lost connection" but wasn't able to
come up with much.
Cheers