Codeigniter session times out very often |
Hi friends,
Since late February, my application (on Live) has ben logging out users quite often, to the point of receiving angry Emails I have tried tweaking my config, but nothing has helped. Even went as far as restarting apache after updating my config.php (I don't need to do this correct?) This is my current sessions setup on config.php Code: $config['sess_driver'] = 'database'; It's similar on local, and it never ever kicks me out. The only time I 'destroy' the session is on /logout path Also, on 'ci_sessions' table on DB — there are a ton of empty sessions On php.ini I now have session.gc_probability = 1 I've read the forum here, before posting. I've searched and posted on StackOverflow. It will be a month now and I still don't have a solution. I am on CI 3.1.11 Have a few AJAX longpolls and use AJAX for almost all user action — which lead me to this article https://degreesofzero.com/article/fixing...niter.html — though since Sessions library has been completely re-written since then, I'm not sure it applies any more (?) or does it? Any clues? I am really at the end of my rope... |
Messages In This Thread |
Codeigniter session times out very often - by october11 - 03-15-2020, 01:43 AM
RE: Codeigniter session times out very often - by InsiteFX - 03-15-2020, 07:58 AM
RE: Codeigniter session times out very often - by october11 - 03-15-2020, 08:27 AM
RE: Codeigniter session times out very often - by muyassarov - 03-15-2020, 11:24 PM
RE: Codeigniter session times out very often - by includebeer - 03-16-2020, 09:29 AM
RE: Codeigniter session times out very often - by october11 - 03-16-2020, 01:32 PM
RE: Codeigniter session times out very often - by GloriousLion - 05-02-2020, 12:15 AM
RE: Codeigniter session times out very often - by tommyshelbyop - 04-11-2021, 11:18 AM
|