Hello, I am using Zend_Session with Zend_Session_SaveHandler_DbTable.
I need to associate sessions with registered users to prevent account sharing, so I am storing the userId in the session table. However, regenerating the session id destroys the userId entry since Zend_Session calls session_regenerate_id(true) in its static regenerateId method, which deletes the table row including the userId. I am assuming that session_regenerate_id(false) would preserve the table row. Zend_Session::rememberMe() calls Zend_Session::regenerateId() so we're in trouble. Should we drop Zend_Session and Zend_Session_Namespace and just create a custom Session manager or can this be done without modifying the framework code? --Dan -- View this message in context: http://www.nabble.com/Zend_Session-%3A-associating-a-session-with-a-registered-user--tp23761871p23761871.html Sent from the Zend Framework mailing list archive at Nabble.com.
