Hi,

   You can use the following:

HttpServletRequest request = this.getThreadLocalRequest();
HttpSession session = request.getSession();
session.setAttribute(key, value);
int temp = session.getAttribute(key);

This ofcourse is on the server side. Hope it helps !!

Parmeet


On Aug 12, 12:46 pm, jlc488 <jlc...@gmail.com> wrote:
> Hello,
>
> I have a question about session management on GWT + GAE.
>
> Actually I have implemented using cookies to store email id and some
> other information.
>
> However, cookies are stored on client side computer and I think It
> lacks of security problems.
>
> So, I was thinking of using session like HttpSession or something that
> supports GWT + GAE environment.
>
> You know I can just use setAttribute to store any object and using
> getAttribute to retrieve information that I need.
>
> I've been searching keywords like "session", "session management",
> "gwt session", "gae session" and etc.
>
> I can not find the answer that I really need.
>
> Can you guys guide me some ideas or the proper way to implement it If
> I am approaching it wrong way??
>
> Thanks
>
> Best wishes to you all.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to