On 01/21/2010 02:40 AM, nacho wrote:
Hi, i want to make an application in wich the user must log in.
What i do for it is i have filter defined in the web.xml wich filters
all the request like /myapplication/*
If your application filters all the requests like /myapplication/*, you
could map you rpc servlet to an url like /somepath/*, which is not
filtered.
If the user is loged it makes the request, if not i redirect the user
to the login page.
My problem is when the session dies and i want to call an
asynccallback like /myapplication/MycallbackServiceImpl Because
obviously the filter redirect the request (to the async call) to the
login page.
How could i manage this like Gmail does? That if the user is not
logued redirects him to the login page again.
Does anybody do anything similar to this?
PS: Sorry my english :D
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.