ZF-Commons / ZfcUser

A generic user registration and authentication module for ZF2. Supports Zend\Db and Doctrine2. (Formerly EdpUser)
BSD 3-Clause "New" or "Revised" License
497 stars 343 forks source link

ZfcUser destroys all session containers after logout #511

Closed asologor closed 10 years ago

asologor commented 10 years ago

The problem is that I have ZfcUser module, which stores some data in its own containers in $_SESSION array, and i storing shopping cart items and some other data in separated containers inside $_SESSION. Then I logging out via ZfcUser, and my $_SESSION array becomes totally empty, so my shopping cart becomes empty too. How can I fix that?

Danielss89 commented 10 years ago

Fixed in #512

asologor commented 10 years ago

Thanks for the prompt fix;)

intellent commented 7 years ago

Sorry to bring this up again. But how can I restore the old behavior? In my case, I do want to destroy the whole session on logout. I didn’t find a suitable logout event to attach to.