You can get the session using the following FacesContext context = FacesContext.getCurrentInstance();HttpSession session= (HttpSession) context.getExternalContext().getSession(false);
then use it as usual,
session.setAttribute("foo","bar");
- Sanoop
Alexandre Jaquet wrote:
Hi, I'm looking for a way to create session variable in my managed bean How can I do it ? thx

