Could anybody help me to understand this issue?
The problem is:
I have a two versions of my application that work in parallel. This means that I have sessions already started in one application that I should use in another app.
First version uses PHP sessions ($_SESSION
with custom handlers) and second version of application built on Zend Framework and it should use Zend_Session.
So when I try to create new Zend_Session_Namespace("default")
instance I get an error that session was already started and it's true.
So the question is — can I initialize Zend_Session
object with the data already stored in PHP $_SESSION
?
Ok, I solved this issue, and in case of me the solution is:
The one thing that may up security and may help avoid collisions it's check member's email using pubcookie.
Hope my solution helps someone.