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

How to make my session last a little longer (modify session timeout)?

Dear experts,

How to make my $this->session last a little longer?

My session timeout is too fast.

Thank you.

Jim



21.5k
Accepted
answer

I'm ended setting session.gc_maxlifetime to a higher value in php.ini

That was solve my problem.

Thanks @Daniel