I wonder if anyone else has encountered the following behaviour.
I use PHPEd remote debugger when developing. Every time when my application throws an exception and it is caught by PHPEd, AND I decide to terminate script execution, I lose user session.
If I let the execution continue, session is preserved.
Session is not lost when debugger is off and it does not matter if exception is left unhandled.
I have never seen anything similar in all my years dealing with remote debugging. So, my question is - could it be that Phalcon's session handler "forgets" the session variables when exception is thrown and execution is aborted from within the IDE?