Welcome Guest, Not a member yet? Register   Sign In
DB sessions randomly logging users out
#1

[eluser]CI_Newb[/eluser]
So in my tests, sessions worked fine. But once I went to production (same server, just more users) every now and then, my users will say it randomly logs them out. Not often, just randomly.

Here's how my config looks now trying to solve this problem.
Code:
$config['sess_cookie_name']        = 'ci_session';
$config['sess_expiration']        = 0;
$config['sess_encrypt_cookie']    = FALSE;
$config['sess_use_database']    = TRUE;
$config['sess_table_name']        = 'user_sessions';
$config['sess_match_ip']        = FALSE;
$config['sess_match_useragent']    = TRUE;
$config['sess_time_to_update']     = 25200;

This is all within a secure network so i'm not worried about attacks or stuff, I just want it not to time out for the duration of the users shift.

Any ideas?


Messages In This Thread
DB sessions randomly logging users out - by El Forum - 11-26-2010, 07:43 PM
DB sessions randomly logging users out - by El Forum - 11-27-2010, 04:57 AM
DB sessions randomly logging users out - by El Forum - 11-27-2010, 04:59 AM
DB sessions randomly logging users out - by El Forum - 11-27-2010, 06:01 AM
DB sessions randomly logging users out - by El Forum - 11-27-2010, 05:09 PM
DB sessions randomly logging users out - by El Forum - 11-27-2010, 05:26 PM
DB sessions randomly logging users out - by El Forum - 11-27-2010, 05:38 PM
DB sessions randomly logging users out - by El Forum - 11-27-2010, 05:38 PM
DB sessions randomly logging users out - by El Forum - 11-27-2010, 06:08 PM
DB sessions randomly logging users out - by El Forum - 11-27-2010, 08:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB