title: How to pass a session between tomcat and php
body: <p>Hey, I am in a WTF code situation working on a jsp tomcat server and trying to pass session data (user id, etc.) to php. i am planning to rewrite php session handling with <a href="http://il.php.net/session_set_save_handler" rel="nofollow noreferrer">session_set_save_handler()</a>
  my question is where does tomcat stores it session data (harddrive?) and what kind of encoding does it uses?
  or am i on the wrong path?
  i know the idea of mashing php and jsp is stupid just got this assignment and i am pissed too.</p>