Hi Joe,
Icky is correct not using the comet session works.
It has been on the cards to implement for a while but I've not been
able to allocate much time to gwt-comet :-(
A simple possibility would be to change
CometServlet.getCometSession(...) to take the HttpServletRequest which
you could add a "new connection" parameter too. When the "new
connection" parameter is set then rather than looking up the
CometSession from the HttpSession basked on
CometSession.HTTP_SESSION_KEY you could generate a connection id and
do the HttpSession mapping based on that. You could then return the
connection id back to the client which could use it for subsequent
requests.
This is different to my initial plans which was to share a single
comet connection amongst multiple windows, where the client side code
would do the work of distributing the message to the right window
(which is a lot more work).
From Richard.
On Jun 11, 12:42 am, Joe Dallago <
jd.dall...@gmail.com> wrote:
> That is, if they exist.
>
>
>
>
>
>
>
> On Fri, Jun 10, 2011 at 10:42 AM, Joe Dallago <
jd.dall...@gmail.com> wrote:
> > Ok this is very helpful, thank you. I am interested in hearing any
> > CometSession specific solutions if possible, b/c I would prefer not to
> > completely scrap all of my existing code.
>