Hi Simorgh,
The position as stated on your dojo link seems to be backed up here:
http://www.openajax.org/runtime/wiki/The_Two_HTTP_Connection_Limit_Issue
Greg Wilkins comments here that the only real solution to this problem
is to have a common javascript space that all tabs could access so
that a single comet channel could be managed from there. I would guess
that this comment implies that sharing a connection between tabs is
currently impossible as Greg seems to know what he is talking about
and would know if it was. I would imagine that such a common space
might provide fertile ground for new black hat evil though.
The only glimmer I can think of (and I have no idea if it would
actually work) is to use a short lived cookie to keep track of the
number of instances of the application running in new tabs and to set
up a rack of sub-domains on the server. So each instance checks the
cookie and if doesn't exist it connects to a.mydomain,com, if it's "a"
it goes for
b.mydomain.com etc resetting the cookie as they go. I
believe the sub-domain trick works as the browsers treat them as
different servers, but I don't know if the cookie part is viable.
regards
gregor