[Haskell-cafe] Happstack events and web page refreshing
corentin.dupont at gmail.com
Mon Jan 17 21:19:56 CET 2011
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 <cdsmith at gmail.com> wrote:
> 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
> would be pretty transparent to you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe