Open GoogleCodeExporter opened 9 years ago
Are you sure that you are not using multiple windows/tabs? gwt-comet does not
support more than one window/tab.
Original comment by rich...@zschech.net
on 9 Jun 2010 at 10:58
I'll double-check but I'm pretty sure that as far as this ticket is concerned
there was only one window open.
Also, I've been using Comet with multiple windows/tabs just fine. If that
wouldn't work reliably I'd have to look for an alternative because there's no
way I can keep my users from always limiting themselves to one tab. But as I
said, appears to work just fine in all major browsers.
Original comment by julian...@gmail.com
on 9 Jun 2010 at 11:04
Concerning multiple windows/tabs:
comet-gwt adds itself to the httpsession. As far as I know, it's not possible
to have two different sessions in the same browser window in two different tabs
when using cookies.
So, the question is: to which tab does the server send messages?
About point 4 of your problem description: Did you turn of session persistence
on your server?
Original comment by mmm1...@gmx.net
on 13 Aug 2011 at 7:09
I can't see the difference between multiple tabs connecting to the same server,
and multiple clients (e.g. different hosts) connecting to the same server. I
would expect the server to send messages to all tabs, but maybe I'm missing
something.
Sorry but I don't remember whether session persistence was turned on or off and
can't find out easily at this point.
By the way, I've switched to Atmosphere/GWT a while ago and so I'm not
interested in a solution for this ticket anymore. Please feel free to close it.
Original comment by julian...@gmail.com
on 13 Aug 2011 at 9:38
Whoops, it's been a while since I was working with this. I guess the
difference is that multiple tabs in the same browser would share the same
cookies and hence might share the same HttpSession.
Original comment by julian...@gmail.com
on 13 Aug 2011 at 9:42
Original issue reported on code.google.com by
julian...@gmail.com
on 8 Jun 2010 at 3:51