I'm having a problem at a session time in PHP with CodeIgniter. I was using the sessions in CI and with so many problems I decided to look for a solution to use native sessions with the CI and at first it has improved, but still it continues to fall before the predetermined time.
In the settings I left the sess_expiration
set to 7200 (default value of the CI) and whenever I do not move the system for a certain time (I have already done several tests like 10min, 30min, 1h) and almost always drops when I go refresh the page.
I played the code in Pastebin to make it easier to read.
And inspecting the firebug, in the Resouces-> Cookies the Expires / Max-Age is theoretically correct.