I guess the easiest way would be to make a method on the server end which returns these values, and you can call these methods from the client side (using GWT RPC)
On Aug 19, 2:58 pm, jlc488 <[email protected]> wrote: > Thanks for your kind reply. > > Just wondering, If I want to access any of values from the client side > which I've setted on the server side. > > Is there any way to access it from the client side? > > Thanking you > > On Aug 13, 5:52 pm, Parmeet Kohli <[email protected]> wrote: > > > 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<[email protected]> 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 [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 -~----------~----~----~----~------~----~------~--~---
