I don't have time to dig into the source at the moment, so would you mind briefly explaining the strategy you used? Specifically how does it differ from the approach taken at Using Sessions between perl and php., which (at the time) seemed rather inefficient to me.
Yep. The "right" strategy to share session between PHP and Perl is: to keep session data in RDBMS like MySQL.
But imagine the cases where you should co-work with low-skilled PHP coders, or your company should migrate (or take over) someone else's PHP code.
Rewriting PHP session handler (off course in PHP) is pain for Perl hackers, isn't it? So this module enables Perl coder code in Perl, PHP coders code in PHP with PHP4 builtin Session.