users@tyrus.java.net

HttpSession returns null

From: Arun Gupta <arun.p.gupta_at_oracle.com>
Date: Sun, 17 Feb 2013 16:34:08 -0800

Using GlassFish b76, trying to access HttpSession as:

     @Override
     public void modifyHandshake(HandshakeRequest request,
HandshakeResponse response) {
         HttpSession httpSession = (HttpSession)request.getSession();
         System.out.println(httpSession);
         System.out.println("Invoked from: " +
httpSession.getServletContext().getContextPath());
         super.modifyHandshake(request, response);
     }

But its returned as null. Is this functionality not implemented yet ?

Arun

-- 
http://twitter.com/arungupta
http://blogs.oracle.com/arungupta