Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

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



51.1k

//offtopic if you feel skilled developer :-)

https://github.com/phpredis/phpredis



522

//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?



51.1k

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 ?



522
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.