title: How to get session information in Spring MVC 3
body: <p>I am new to spring MVC and I am trying to get the session information in my controller class</p>
  
  <p>Right now I am using </p>
  
  <blockquote>
    <p>HttpSession objHttpSession = request.getSession(true);</p>
  </blockquote>
  
  <p>if I want to get session creation time and session Id I am using</p>
  
  <blockquote>
    <p>objHttpSession.getCreationTime();
    objHttpSession.getId();</p>
  </blockquote>
  
  <p>I want to know is there any spring MVC specific way to get the session details?</p>
  
  <p>Thanks in advance</p>