A couple questions: Are you certain this is not a timing issue – trying to retrieve the value before its placed in session? If not, explain how you eliminated this possibility. Are you using a standalone web server or is there clustering (httpsession replication)?
On May 7, 2:11 am, Mamadou Alimou DIALLO <[email protected]> wrote: > Hello group, > > I have some problem with GWT Servlet Session and Java Servlet Session. I > have stored a data in GWT Servlet Session like this: > > HttpServletRequest request = this.getThreadLocalRequest(); > HttpSession session = request.getSession(true); > session.setAttribute("key", "data"); > > but when I do > > HttpSession session = request.getSession(true); > String userSecurityContext = (String )session.getAttribute("key"); > > from my JAva servlet to get my session data, the returned value was "null". > > My question is How can I get the data stored in GWT servlet session from > another Java Servlet. > > Thanks in advance > > dialloma --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
