
17 Jan
2011
17 Jan
'11
12:30 p.m.
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