1 Reply Latest reply on Mar 31, 2004 12:02 PM by James Clover

    HttpSession with JBoss.net

    Frank Heldt Newbie

      Is it possible to use a Session (e.g. HttpSession) with JBoss.net?

      I have a stateless Session Bean as a webservice and it does fine. Now i have to add something like a cart, so it seems i need something like a HttpSession.

      In Axis i can use this:

      MessageContext mc = MessageContext.getCurrentContext();
      HttpServletRequest req = (HttpServletRequest)mc.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
      HttpSession session = req.getSession(true);


      but it doesn't work as expected in JBoss.net

      Any ideas?