How to send a query to the browser from time to time?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

How to send a query to the browser from time to time?

From: Admin <me@privacy.net>
Date: Tue Jul 19 2005 - 14:46:49 CEST

I am creating a chat application like Messenger for the web (using the
browser) and I'm wondering if there is a way to receive new messages from
time to time from the server other than refreshing the page each 5 sec.

If there were a way to have the server-side application send new messages
to the browser this would be awesome because it would save dramatically on
bandwidth. The application would consume bandwidth only when there are new
messages. There would be no communication client-server until people write
a new message.

Do you know if it's possible?

-- 
Thanks,
Admin.
Want to buy me a book? http://tinyurl.com/78xzb :)
Received on Thu Sep 29 17:01:09 2005