When the user logs in, store something in the HttpSession. Then, when the next page loads and your entry point is invoked, make a GWT-RPC call to check the session to see if the user is logged in and who they are. You can access the session from a GWT-RPC service implementation (subclass of AbstractRemoteServiceServlet) using:
getThreadLocalRequest().getSession() You can store the user's preferred language in the session, too. As for tutorials, I don't have any in mind, but I'm sure you could find some examples by searching for "GWT getThreadLocalRequest". -Brian On Mon, Dec 20, 2010 at 11:31 AM, Davor Peric <davor.peric1...@gmail.com> wrote: > I'm new to gwt, and I need to handle sessions in the gwt multipage > application I've built. I need to enable that the users stay logged in > and the page language stays the same by navigating between pages. I've > searched but couldn't find a good tutorail. Can someone give me some > advice or a link to a good tutorial? > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > 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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.