When the user logs in, insert a row into a table to keep track of all of the users logged in and their session ids.
On Mon, May 9, 2011 at 5:17 AM, bruuuno <[email protected]> wrote: > Hello everyone, > I'm creating a game for 2 players (checkers). > > A player logs in with username and password and a new session is > created. > This user start a game with another player logged in (with another > session). > > How can I handle the two sessions? > Is there a << HttpSession session = getSession(sessionId) >> method or > something? > > I have to get the move by the first player and send it to the second > player, then get the move by the second player and send to the first. > > Thanks in advance > > -- > 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. > > -- 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.
