A few suggestions about sign-in are already here although maybe they
don't touch much about session expiration:
http://code.google.com/webtoolkit/articles/dynamic_host_page.html
About the redirect you mentioned getting lost, my educated guess is
that most likely the redirection is working but you
Hi,
we are implementing an application using GWT2.1 + Spring security 3.0.
We use a SSO Kerberos authentication, if this fails, user can still
log in through a login page.
Our basic configuration is something like this:
T
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 that
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 imple
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 escribió:
> Hi,
>
> I wondered why my application still worked, even when the session
> timed out on the server. It still worked, because the current u
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
metho
There are many ways to handle it. You should decide what is important
to your users and for your environment, and how you define a session
expiration.
In one GWT application, I use the Google UserService to get the
current user on the server side. I make sure the user is logged in at
the start, an
There are many ways to handle it, but you need to consider how to
present it to your users and other constraints specific to your
environment.
In one GWT app, I did nothing to detect client-side inactivity. I used
the Google UserService to detect session expiration on the server side
whenever ther
Let your server return some error code - say, 401.
The moment your application (I assume you are using Ajax calls...
using either RequestBuilder or GWT-RPC) receives a 401 response,
redirect him to the login page.
-Gaurav
www.mastergaurav.com
On Oct 15, 2:09 am, "andres.arellano"
wrote:
> Hi
Hi there, how can I handle a session expiration? What I want to do is
to auto sign out users when their sessions have expired.
Thanks in advance,
Andres
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to
10 matches
Mail list logo