CodeIgniter Forums
Session Logout while using session driver database - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Session Logout while using session driver database (/showthread.php?tid=67607)



Session Logout while using session driver database - deepanshu12 - 03-15-2017

Hi ,
Currently I am working on CIĀ  Ver 3.1.3, and I have a multiple instances setup on which I am using following code for the session storage
Code:
$config['sess_driver'] = 'database';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = 'ci_sessiontable';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;

for the previous version setup I have never faced such problem but in the latest version My sessions are getting expired in within few minutes. I have made the ajax session update fix but still I am not able to fix the problem.