session_regenerate_id(true) is being triggered by Zend\Session\SessionManager::regenerateId() which is called in ZfcUser\Authentication\Adapter\Db::authenticate() line 104.
The reason for this warning is that there’s no old session to delete for first time visitors. Is this a bug in the session manager? Should the manager check, if there is an old session to delete? Or is it a bug in ZfcUser’s auth adapter? Or is it a bug in my application?
Hey everybody,
I have a post-login redirect route set for ZfcUser. After a user logs in for the first time, I get the following PHP warning prior to the redirect:
session_regenerate_id(true)
is being triggered byZend\Session\SessionManager::regenerateId()
which is called inZfcUser\Authentication\Adapter\Db::authenticate()
line 104.The reason for this warning is that there’s no old session to delete for first time visitors. Is this a bug in the session manager? Should the manager check, if there is an old session to delete? Or is it a bug in ZfcUser’s auth adapter? Or is it a bug in my application?
Help would be highly appreciated.