title: Is HttpSession thread safe, are set/get Attribute thread safe operations?
body: <p>Also, does the object that is being set have to be thread safe in order to guarantee that we know what the state of the object stored in session is known.</p>
  
  <p>Also, I was reading on the web that some suggest using:</p>
  
  <pre><code>synchronized(session) {
    session.setAttribute("abc", "abc");
  }
  </code></pre>
  
  <p>Is this a valid suggestion?</p>