Sessions are usually bound to a browser, for a given host/Application Context(war), by a Cookie ( likely called JSESSIONID ), if the two browsers share a cookie cache/address space, they'll see the same session cookie, and share the same session.
On Apr 13, 6:40 am, "[email protected]" <[email protected]> wrote: > Hi. > While trying to test my app, i open two clients in Hosted Mode. > After i log, i return to the client the session id > > HttpSession session = getThreadLocalRequest().getSession(true); > session.setAttribute( "userId", id ); > return session.getId(); > > The problem is, that GWT does not open new session for the second > client, but > "reuses" the session that was opened for the previous one. > > Does any body have any idea why does it happens ? > Does it depend on the mode ? > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
