Session sharing laminas / zf1

Anyone knows how to share Laminas sessions with ZF1 Zend_Session?

I had to share the sessions between an old ZF1 app and Laminas app, everything worked fine until I switched to laminas/laminas-session to 2.12. Before it worked when laminas/laminas-session was on 2.10.

Now, after accessing the Laminas app, when going to ZF app I am getting this:
Fatal error: Uncaught Zend_Session_Exception: Zend_Session::start() - //library/Zend/Session.php(Line:482): Error #2 session_start(): Failed to decode session object. Session has been destroyed
The old app is under rework but still some time needs to be kept running…

I see two options here:

  1. remove the old session handling from the ZF1 application and use laminas-session for the entire session handling
  2. stay with version 2.10 of laminas-session because the newer versions only bring support for PHP 8.1 and session.cookie_samesite

I think else is waste of time.

Good idea with migrating to laminas-session entirelly as after additional tests I think not the laminas-session migration from 2.10 to 2.12 was the cause for the issue…