Re: handling session timeout - is there a central hook?

2010-12-28 Thread sergio von Knorring
Hi Magnus You can implement a java Filter in the server Side and check if the session is valid if is not valid yo do the redirect in the server side. you can use that way if you call a normal resource to the server for example a .js or img or .jsp or html to use it for a RPC call you must

Re: handling session timeout - is there a central hook?

2010-12-28 Thread nacho
In the server side I created a class (MyServiceServlet) that extends from RemoteServiceServlet and in the method onBeforeRequestDeserialized(String serializedRequest) i check if the user is logued. If is not, i throw a AuthenticationException. And in the client side I created a abstract class

handling session timeout - is there a central hook?

2010-12-27 Thread Magnus
Hi, I wondered why my application still worked, even when the session timed out on the server. It still worked, because the current user is also stored in my application and I never check this against the server's session data. However, I have a lot of services and each service has a lot of

Re: handling session timeout - is there a central hook?

2010-12-27 Thread Sergio Von Knorring
Hi you can use a Java filter in the server side to check if the session id Regards Enviado desde mi iPhone El 27-12-2010, a las 19:56, Magnus alpineblas...@googlemail.com escribió: Hi, I wondered why my application still worked, even when the session timed out on the server. It still