title: Setting session in JSP and getting session in servlet
body: <p>I am setting a session attribute in JSP code as below and submitting the HTTP form to servlet:</p>
  
  <pre><code>session.setAttribute("qnaInfo", qnaInfo);
  System.out.println("session.getAttribute" + session.getAttribute("qnaInfo"));
  </code></pre>
  
  <p>I am trying to get session attribute in a servlet code as below:</p>
  
  <pre><code>HttpSession session = request.getSession(true);
  AuthQnAInfo storedQnaInfo = (AuthQnAInfo) session.getAttribute("qnaInfo");
  </code></pre>
  
  <p>In servlet it is null only on IE. But in Chrome I get the value.<br>
  Please help to resolve this.</p>