title: Differences between cookies and sessions?
body: <p>I am training in web developement and am learning about <strong>JSP</strong> &amp; <strong>Servlets</strong>. I have some knowledge of <code>HttpSession</code> - I have used it in some of my sample projects.</p>
  
  <p>In browsers I have seen the option to "delete cookies". If I delete the cookies it deletes the <code>HttpSession</code> also.</p>
  
  <p>Are cookies and session the same? What are the differences between them?</p>