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

About lifetime

Hello,

I need to get the session lifetime.How can solve this issue in the plugin ?

You can use ini_get("session.gc_lifetime") to get the minimum lifetime. Since session data garbage collection is kind of random, there is no defined maximum lifetime.

Is zero for never expire??