title: sharing session between php and jsp
body: <p>We have some web pages written in JSP and a few others written in PHP.</p>
  
  <p>What we're trying to accomplish is that, whenever a user login (through a PHP page), we want to save the session information (userid, login time, etc) and use the same information when accessing JSP pages as well.</p>
  
  <p>How can we share JSP and PHP session information with each other using same session id?</p>
  
  <p>Is there a way to do that, or are they automatically compatible with each other?</p>