[Seaside] Correct usage of Comet

John Toohey johnptoohey at gmail.com
Mon Apr 13 13:05:31 UTC 2009

Hi Lukas,

Is it the network.http.max-connections-per-server key in Firefox that
controls this? The default in the latest Firefox is set to 15, for
this key. I also found
network.http.max-persistent-connections-per-server which is set to 18.

On Mon, Apr 13, 2009 at 02:31, Lukas Renggli <renggli at gmail.com> wrote:
>> - How does the disconnect method work, and how and when should I call
>> it. If I am using Comet from numerous components, can it cause
>> problems with the browser, if I don't call disconect.
> Web browsers usually limit the number of open connections per Window.
> The exact number depends on the browser, but in all cases it is rather
> low. As far as I remember the default setting in FireFox limits it to
> two concurrent connections. So if you want to do AJAX calls aside, you
> can only have one Comet connection per page. Thus in you case all
> components probably want to share a single Comet connection.
>> - What is the correct usage of the reconnect method?
> Normally you don't need to call these methods manually, unless you
> want limit the lifetime of a Comet connection. #disconnect is
> automatically performed when you navigate to a new page, #reconnect is
> automatically performed when you loose an open connection.
> Lukas
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list