This is not a bug. When Lift detects multiple requests for the same
session it breaks out the Comet request. This is a safety mechanism in
order to avoid HTTP connection starvation on the client side. This is
because browsers have a very limited connection pools and the number
of parallel HTTP connections are quite low varying from 2 to probably
8 depending on the browser. Note that this "pool" is shared among
different tab browsers AND different instances of the same browser.

So if you want to test with multiple browsers on you dev env use
different browsers such that open your app with Firefox, then open the
same app with Chrome etc.

Br's,
Marius

On Dec 18, 11:34 am, Andrea Peruffo <[email protected]> wrote:
> I have a project where a snippet generates the code for a comet actor, but
> when I open two(or more) windows of the same browser on the page I can see
> that javascript on both pages start to makes continuous comet calls.
>
> I attach a simple project that reproduce the problem.
>
> Please any fix or workaround??
>
> Andrea
>
>  CometPolling.tar.gz
> 7KViewDownload

--

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.


Reply via email to