4
I have a problem with a session time in PHP with Codeigniter. I was using the sessions in the IC and with so many problems I decided to look for a solution to use native sessions with the IC and at first it has already improved, but still it continues to fall the session before the predetermined time.
In the settings I set the sess_expiration
7200 (CI default value) and every time I don’t touch the system for a certain time (I’ve done several tests like 10min, 30min, 1h) and almost always falls when I update the page.
I played the code in Pastebin to make it easier to read it.
And inspecting the firebug, in Resouces->Cookies the Expires / Max-Age theoretically correct.
Are your server’s date and Timezone settings correct? Note that the sessions are already expired (25 February) if we consider today’s date (23 July)
– gmsantos
Yes @gmsantos ... if you notice when I asked this question, it was on February 25th. But detail, I still have problems with CI sessions....
– Marcelo Diniz
I didn’t notice that detail, I thought it was a recent question
– gmsantos