8 Replies Latest reply on Mar 8, 2006 7:33 PM by Luis Daniel Rangel Tovar

    PortletSession vs HttpSession

    Bill Collins Newbie

      I'm running portal 2.0 in jboss 4.0.2. The issue I'm having is trying to get HttpSession attributes in PortletSession.

      PortletSessionImpl uses a prefix of "javax.portlet.p." which prevents HttpSession attributes from being returned. The private HttpSession in PortletSessionImpl has the attributes I need but the getters will not return them due to the prefix.

      PortletSessionIpml implements PortletSession which states:
      "Therefore all HttpSession listeners do apply to the portlet session and attributes set in the portlet session are visible in the HttpSession and vice versa."....so (per spec) shouldn't these be available?

      Is there a work around to get to the HttpSession attributes?