Re: Managing session timeouts in GWT

2011-02-27 Thread H Mahesh
Thank you for information. I didn't get this...Is there any other way i can achieve this . On Thu, Feb 24, 2011 at 5:04 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: If you wrap all communication with the server (Command pattern), this is an appropriate place to put some

Re: Managing session timeouts in GWT

2011-02-24 Thread Juan Pablo Gardella
If you wrap all communication with the server (Command pattern), this is an appropriate place to put some logic that deals with user login problems, such as server-side authentication timeouts. Juan 2011/2/23 H Mahesh softm...@gmail.com My app is currently built around the Spring framework and

Re: Managing session timeouts in GWT

2011-02-23 Thread Jeff Schwartz
On the server compare the user's session id that you placed in your payload to the servlets current session id. If they aren't the same throw a custom exception and catch it on the client's onFailure method. Don't use the request's cookies session value because it is vulnerable to hijacking.