I haven't fully ready the LoginSecurity document, but you can just hang on to it on your server side (e.g., by putting it in a HashMap) and have a lookup from your ID to your object, although you'd want to remove entries from this HashMap periodically (presumably your sessions will expire, and then you won't need those objects any more).
kathrin On Wed, Jul 14, 2010 at 5:04 AM, Torch <[email protected]> wrote: > The LoginSecurity FAQ says we must always send the session ID in the > RCP. I am using the standard servlet sessions. After login I send the > session ID back to the client. In subsequent RPCs the client sends the > session ID as an RPC parameter. But how do I get the session object in > the servlet using the session ID in the RCP? There is no function like > getSession(id). > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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.
