
Indeed, I tried with <META HTTP-EQUIV="*Refresh*" CONTENT="*n*"> ?
and it's unusable.
It make blink the page, ungrey the "stop" button for a second and make the
fields loose the focus
so it's impossible to type in.
I'll try with XMLHTTPRequest.
On Mon, Jan 17, 2011 at 6:30 PM, Chris Smith
On Mon, 2011-01-17 at 18:25 +0100, Corentin Dupont wrote:
Thanks a lot for your response Jeremy. I can see a lot of site that does update infos without the user to have to click "refresh" (I think Facebook does?). Do they do polling?
While I'm not familiar with Facebook, I'd guess that today, most such sites are all doing polling. Especially the high-volume ones, for which leaving a connection open for every current user would be impractical.
Polling doesn't have to be done with page refreshes. It can also be done with JavaScript using, e.g., the XMLHTTPRequest object. Then it would be pretty transparent to you.
-- Chris