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

Simon Dahlbacka simon.dahlbacka at gmail.com
Tue Jul 19 09:03:48 EDT 2005


Short answer: Not using HTTP.

However, you can use something like AJAX to just load new data from
time to time and not the entire page.

Or you might be able to keep the connection alive and occationally send
stuff to the client using chunked transfer.

I'd go for the ajax route if you don't need to support old browsers.




More information about the Python-list mailing list