title: How to encrypt session id in cookie?
body: <p>While I was reading about session hijacking articles, i learned that it would be nice to encrypt session id value that is stored in a cookie. </p>
  
  <p>As far as I know, when I start a session by calling <code>session_start()</code>, PHP does not encrypt session id value in a cookie.</p>
  
  <p>How do I encrypt session id value and then initialize session with it?</p>