If there are many people in the Chat room, and there is a person
(not friendly) post the same message all the time,

   So i want to limit the time that post the messages to the server.

   Maybe i can use an variable to record the last person that post
message to the server.

   Thanks!

Cheers,
  Neil

On Dec 19, 10:16 pm, David Pollak <feeder.of.the.be...@gmail.com>
wrote:
> Neil,
>
> The polling is not periodic, it's constant and the polling for Comet takes
> place immediately (well 100ms after the page loads).
>
> What is the advantage that you see to a periodic poll rather than the
> continuous long poll that is currently implemented?
>
> Thanks,
>
> David
>
>
>
> On Sat, Dec 19, 2009 at 5:01 AM, Neil.Lv <anim...@gmail.com> wrote:
> > Hi all,
>
> >  How can i specify the Interval time for the Comet ?
>
> >  Just like the chat demo in the lift examples, i have a problem that
> > how to set
> > the interval time for the every http request ?
>
> >  That means the user only post the message to the comet every 3
> > seconds, and doesn't post
> > the message all the time.
>
> >  Thanks for any suggestion!
>
> > Cheers,
> >  Neil
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Lift" group.
> > To post to this group, send email to lift...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/liftweb?hl=en.
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Surf the harmonics

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to