Re: Handling sessions in gwt multipage application

2010-12-21 Thread Subhrajyoti Moitra
One more possible way to accomplish this: 1. User sends login request to the server (with username and pass) 2. The server authenticates using whatever mechanism. On successful auth, it generates a "token" or "session id" (not necessarily using HttpSession) and send it back to the GWT client (most

Re: Handling sessions in gwt multipage application

2010-12-21 Thread Brian Reilly
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 Abstrac

Handling sessions in gwt multipage application

2010-12-20 Thread Davor Peric
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