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 > My app is currently built around the Spring framework and Spring Security +

Managing session timeouts in GWT

2011-02-23 Thread H Mahesh
My app is currently built around the Spring framework and Spring Security + GWT. I am using spring security mechanism (concept of ExceptionTranslationFilter) to redirect to login page on session timeout. Mentioned session timeout in web.xml. but in GWT it wont redirect to login page , it throws

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. Instea

Managing session timeouts in GWT

2011-02-23 Thread joe kolba
My app is currently built around the Spring framework and Spring Security + GWT. Is there any way for me to redirect to login when a session expires or when the user makes a RPC request when the session has expired? I was thinking about creating a timer that tracks the time between RPC calls, onc