Hi,

I am building a website with GWT. There is a login page on this
website that send a session id to client when user is logged in. I'm
using the Servlet HttpSession object to get id.

Somewhere in the website, there is a link that load a new GWT module
page. This is a different module because this a big part of the
application that is very independant and could be packaged without the
website. Now, I would like that both module use same Session (do not
want to login user twice).

To do this, I store my session id in a cookie and when an application
loads, it reads cookie to know session Id (or send the client to the
login page if no cookie), then session it is checked on server.
This system works if I merge the two modules insite a single tomcat
application. They will use the same HttpSession.

But If I want to use the mechanism with Hosted mode, it does not work
since both application modules are running in a different Thread, and
each one have a different HttpSession.

Do you have an idea about how to have a such working system in Hosted
mode ?
Do you know too, if it is possible to debug two application at the
same time?
Eclipse allows to selects a port to start an application, (default is
8888) but we can't selects a port for the debug connection (default
9997). Is there a way to chose something difference than 9997 ?

Thanks,

Nicolas.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit?hl=en.

Reply via email to