Welcome Guest, Not a member yet? Register   Sign In
Session logout problems
#25

[eluser]theshiftexchange[/eluser]
[quote author="chandrajatnika" date="1294815869"]I have the same problems... this is my config..
Code:
$config['sess_cookie_name']    = 'ci_session';
$config['sess_expiration']    = 7200;
$config['sess_encrypt_cookie']    = FALSE;
$config['sess_use_database']    = TRUE;
$config['sess_table_name']    = 'login_sessions';
$config['sess_match_ip']    = TRUE;
$config['sess_match_useragent']    = TRUE;
$config['sess_time_to_update']     = 1800;

What in the profiler that I should see????[/quote]

Turn sess_match_ip to FALSE

I had this exact issue - and after debugging for hours (including watching the DB sessions live) I was able to work out that the IP address of some users was 'cycling', and thus destroying the session.

Also - change "ci_session" to "cisession" for the cookie name (no underscores)


Messages In This Thread
Session logout problems - by El Forum - 05-13-2009, 03:42 PM
Session logout problems - by El Forum - 05-13-2009, 04:22 PM
Session logout problems - by El Forum - 05-13-2009, 07:07 PM
Session logout problems - by El Forum - 05-13-2009, 07:31 PM
Session logout problems - by El Forum - 05-13-2009, 07:41 PM
Session logout problems - by El Forum - 05-14-2009, 01:42 AM
Session logout problems - by El Forum - 05-14-2009, 01:49 AM
Session logout problems - by El Forum - 05-14-2009, 11:27 AM
Session logout problems - by El Forum - 05-15-2009, 06:21 AM
Session logout problems - by El Forum - 05-15-2009, 06:23 AM
Session logout problems - by El Forum - 05-15-2009, 06:31 AM
Session logout problems - by El Forum - 05-15-2009, 07:54 AM
Session logout problems - by El Forum - 05-15-2009, 07:59 AM
Session logout problems - by El Forum - 05-15-2009, 08:00 AM
Session logout problems - by El Forum - 05-15-2009, 08:34 AM
Session logout problems - by El Forum - 05-15-2009, 08:46 AM
Session logout problems - by El Forum - 05-18-2009, 08:04 AM
Session logout problems - by El Forum - 01-12-2011, 12:04 AM
Session logout problems - by El Forum - 02-08-2012, 12:56 PM
Session logout problems - by El Forum - 02-10-2012, 12:19 PM
Session logout problems - by El Forum - 02-15-2012, 07:42 AM
Session logout problems - by El Forum - 02-15-2012, 12:33 PM
Session logout problems - by El Forum - 02-15-2012, 12:35 PM
Session logout problems - by El Forum - 02-15-2012, 12:38 PM
Session logout problems - by El Forum - 02-18-2012, 06:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB