getThreadLocalRequest().getSession()
On Sep 14, 9:56 pm, hezjing <[EMAIL PROTECTED]> wrote:
> Hi
> When a user successfully login, I want to store the login information into a
> session.
> How do we store an object in the HTTP session?
>
> I read this Using Servlet Sessions in
> GWT<http://developerlife.com/tutorials/?p=230>,
> and it explained that all GWT services are implemented in classes that
> extend the RemoteServiceServlet class.
> From there, we can retrieve the session from the current request.
>
> Unfortunately, I'm following the GWT tutorial and all my services now extend
> the RemoteService.
> How can I retrieve the HTTP session if my service extends RemoteService?
>
> What is the different if a service extends RemoteService
> or RemoteServiceServlet?
>
> --
>
> Hez
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---