Yes, that's work :-)
And I'm sorry, because I was confused :-(
What I want is how to access the session from the client code?

For example I want to add a user object into session in a login panel.
Then, retrieve the same object from the session from another panel.




On Mon, Sep 15, 2008 at 10:04 AM, Dean S. Jones <[EMAIL PROTECTED]>wrote:

>
> 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
> >
>


-- 

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to