We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

#1624 on GitHub is affecting me?

Hi! I got very confused about this fact because I read the discussion and in theory it's fixed. but... When I raise an exception page (show404,show401,show500) the 'Log out' button is there. And then you press F5 or go to another page... and the session is gone. You need to login again. How can I prevent this?



940
Accepted
answer

Solved by removing $this->session->destroy()