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

Redis session update lifetime

I am using Phalcon\Session\Adapter\Redis as my Session. Why session lifetime does not updated? How I can fix that? Thanx



85.5k

//offtopic if you feel skilled developer :-)

https://github.com/phpredis/phpredis



7.0k

//offtopic if you feel skilled developer :-)

https://github.com/phpredis/phpredis

And?...

I know that phalcon redis work on phpredis lib. Or don't? Or you want say, that is't phpredis lib trouble?



85.5k

no i said you should use phpredis, and use files addapter in phalcon.

But really i didnt understand your problem. there is an option "lifetime" for session, i guess you saw that it's jsut that it doesnt get updated ? what do you mean by that ?



7.0k
Accepted
answer

But phalcon redis work on phpredis. Why I should use file adapter, if I neeed redis?

But really i didnt understand your problem. there is an option "lifetime" for session, i guess you saw that it's jsut that it doesnt get updated ? what do you mean by that ?

session lifetime must extend on page refresh or on some activity on web page. phalcon redis session just dies.