[Lift] Re: Constantly Ajax Request ?

2009-05-13 Thread ngug

Well since he may have meant that, to disable it you put in Boot:
LiftRules.enableLiftGC = false

On May 12, 8:01 pm, Timothy Perrett timo...@getintheloop.eu wrote:
 This im aware of - however it just seems more likely that if he
 asked for comet behavior by inserting the comet tag he would
 associate the two. However, the way the original query was worded
 indicated to me at least that he was not expecting the ajax calls...
 hence why i think he's probally talking about the GC page ajax rather
 than a comet call. Generally speaking people tend to exaggerate, hence
 his miss-use of constantly.

 I may be wrong, but i have a hunch...

 Cheers, tim



  Nope... the GC happens once every 75 seconds (by default).  It's not
  constant.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@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
-~--~~~~--~~--~--~---



[Lift] Re: Constantly Ajax Request ?

2009-05-13 Thread sailormoo...@gmail.com

Hi Hi :

  Thanks for the answer but what's the LiftGC used for??
  What's the difference between enabling it and disabling it ?
  Thanks.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@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
-~--~~~~--~~--~--~---



[Lift] Re: Constantly Ajax Request ?

2009-05-12 Thread David Pollak
If you have a comet component on the page, Lift keeps an http connection
open to the server waiting for server state change.  If you do not want the
persistent connection, please remove comet components (those marked with
lift:comet .../ from your page.

On Tue, May 12, 2009 at 4:36 PM, sailormoo...@gmail.com 
sailormoo...@gmail.com wrote:


 Hi :

  I would like to know what's the constantly sending Ajax Request? Is
 it for the session keep alive??
 Is there a way to disable it? Thanks

 



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@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
-~--~~~~--~~--~--~---



[Lift] Re: Constantly Ajax Request ?

2009-05-12 Thread Timothy Perrett

Is he not talking about the page GC? Id hazard a guess that he is...

Cheers, Tim

On May 13, 12:45 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
 If you have a comet component on the page, Lift keeps an http connection
 open to the server waiting for server state change.  If you do not want the
 persistent connection, please remove comet components (those marked with
 lift:comet .../ from your page.

 On Tue, May 12, 2009 at 4:36 PM, sailormoo...@gmail.com 

 sailormoo...@gmail.com wrote:

  Hi :

   I would like to know what's the constantly sending Ajax Request? Is
  it for the session keep alive??
  Is there a way to disable it? Thanks

 --
 Lift, the simply functional web frameworkhttp://liftweb.net
 Beginning Scalahttp://www.apress.com/book/view/1430219890
 Follow me:http://twitter.com/dpp
 Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@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
-~--~~~~--~~--~--~---



[Lift] Re: Constantly Ajax Request ?

2009-05-12 Thread David Pollak
On Tue, May 12, 2009 at 4:47 PM, Timothy Perrett timo...@getintheloop.euwrote:


 Is he not talking about the page GC? Id hazard a guess that he is...


Nope... the GC happens once every 75 seconds (by default).  It's not
constant.




 Cheers, Tim

 On May 13, 12:45 am, David Pollak feeder.of.the.be...@gmail.com
 wrote:
  If you have a comet component on the page, Lift keeps an http connection
  open to the server waiting for server state change.  If you do not want
 the
  persistent connection, please remove comet components (those marked with
  lift:comet .../ from your page.
 
  On Tue, May 12, 2009 at 4:36 PM, sailormoo...@gmail.com 
 
  sailormoo...@gmail.com wrote:
 
   Hi :
 
I would like to know what's the constantly sending Ajax Request? Is
   it for the session keep alive??
   Is there a way to disable it? Thanks
 
  --
  Lift, the simply functional web frameworkhttp://liftweb.net
  Beginning Scalahttp://www.apress.com/book/view/1430219890
  Follow me:http://twitter.com/dpp
  Git some:http://github.com/dpp
 



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@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
-~--~~~~--~~--~--~---



[Lift] Re: Constantly Ajax Request ?

2009-05-12 Thread Timothy Perrett

This im aware of - however it just seems more likely that if he
asked for comet behavior by inserting the comet tag he would
associate the two. However, the way the original query was worded
indicated to me at least that he was not expecting the ajax calls...
hence why i think he's probally talking about the GC page ajax rather
than a comet call. Generally speaking people tend to exaggerate, hence
his miss-use of constantly.

I may be wrong, but i have a hunch...

Cheers, tim

 Nope... the GC happens once every 75 seconds (by default).  It's not
 constant.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@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
-~--~~~~--~~--~--~---