I'm using Seam 1.1GA with ICEFaces 1.5.2 and I'm trying to store a string in my HTTPSession.
Can someone tell me the steps I need to store a variable in the session and later retrieve it ? I've tried storing it using:
ServletContext context = new MockServletContext(); HttpSession session = new MockHttpSession(context); session.setAttribute("user", user);
ServletContext context = new MockServletContext(); HttpSession session = new MockHttpSession(context); User stored = (User) session.getAttribute("user");