Everyone kept getting signed out after about half an hour, including people with no short limit at all. That was the clue: my idle-time setting couldn’t be the cause. On Ubuntu, PHP’s own session cleaning is off and a systemd timer, phpsessionclean, deletes session files older than the php.ini value, 24 minutes, and it has never heard of my framework config. The fix was keeping sessions in the app’s own folder, so only PHP sweeps them using the lifetime I actually set. If a session limit misbehaves, stop staring at the limit and work out who deletes the files.
Read more "The session that lasted 24 minutes, whatever I told it"
