You could also write the session data associated with that session ID so a shared resource, such as a database or file. Then both PHP and Java can share the data associated with a session.
digital-ether
Nearly a Posting Virtuoso
1,293 posts since Sep 2005
Reputation Points: 461
Solved Threads: 101