I have php session management in a Zend Framework 1.12 system. Everything works fine - sessions are created correctly, cookies are stored correctly, and the system works. But, periodically, the user gets booted. When I check, the session file is not gone, but it has been emptied. I don't want PHP to ever end the session on its own, I have programmatic ways of handling timeouts.
I thought it was a garbage collector issue, so I've set the following:
session.gc_maxlifetime = 28800
session.gc_divisor = 10
session.gc_probability = 0
But it continues to periodically happen. Is this garbage collector if the file is not removed, but emptied? How can I prevent this from happening?