>
> How do i create it on the server?
>

Google it ;)

More seriously, you can't just ask all of your questions in a forum
and expect that people will write the code for you, you have to show
you're doing some efforts, so I'll help you and give you some
interesting reading:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/ae55a7588967c5fd/84ec67925c87dc6e?hide_quotes=no
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/server/rpc/RemoteServiceServlet.html#getThreadLocalRequest()
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletRequest.html#getSession()
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpSession.html#isNew()

That should be enough to let you implement the automatic logout
feature

Cheers,

Salvador

On Apr 20, 10:13 am, Mark <[email protected]> wrote:
> I like the second option because i love being fancy :=)
>
> How do i create it on the server?
>
> Thank you - enlightening
>
> On Apr 20, 10:03 am, Salvador Diaz <[email protected]> wrote:
>
> > You should set the session timeout in your servlet container to
> > whatever you want it to be. When the session expires, any RPC in a
> > logged in client will fail, so that should be enough.
>
> > If you want to be fancy, create a serializable timeout exception, and
> > then when you catch it client-side, logout the user and show him the
> > login prompt
>
> > Cheers,
>
> > Salvador
>
> > On Apr 20, 7:38 am, Mark <[email protected]> wrote:
>
> > > Hi All;
>
> > > I earlier requested help in regard tothe above subject but i have
> > > waited in vain.
>
> > > I am new to GWT and I am working on a data critical application where
> > > security is imperative.
>
> > > I want to implement an automatic logout feature if the application
> > > does not receive activity for n - minutes!!!!
>
> > > Help out
>
> > > Mark
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to