title: Maintaining user log in jsp
body: <p>I am a beginner java learner.. Currently i am working on jsp.</p>
  
  <p>I am making a user-log for all the activities of the user in my database. I've included the 'timestamp' using the <code>current_timestamp</code> function, then the page visited by the user, and then the user-agent using the <code>request.getHeader("User-Agent")</code> function.</p>
  
  <p>Shall i also include the session-id in the log?</p>
  
  <p>Is it of any significance while auditing or for any other purpose?</p>
  
  <p>My jsp project is a simple log in log out webapp with a database with the user details at the back end.</p>
  
  <p>Thanks in advance :)</p>