Thanks guys! Thank you for these useful messages.
I know how to do it now ! Cheers, Neil On Dec 20, 12:06 am, Marius <[email protected]> wrote: > That should be hold in your application logic (potentially your > CometActor logic) and it has nothing to do with the actual Comet > polling. You could probably keep for each message the timestamp and > look for the frequencies when the same message is posted. > > Br's, > Marius > > On Dec 19, 5:37 pm, "Neil.Lv" <[email protected]> wrote: > > > 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 <[email protected]> > > 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 <[email protected]> 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 [email protected]. > > > > To unsubscribe from this group, send email to > > > > [email protected]<liftweb%[email protected]> > > > > . > > > > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
