CodeIgniter Forums
Tank Auth logs user out for no reason - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Tank Auth logs user out for no reason (/showthread.php?tid=52643)



Tank Auth logs user out for no reason - El Forum - 06-19-2012

[eluser]cip6791[/eluser]
I have an issue with TankAuth. It logs users out for no apparent reason. I'm not sure what or where to check. I looked through the error log, but there are no errors. What else should I check?


Tank Auth logs user out for no reason - El Forum - 12-11-2013

[eluser]mlieshout[/eluser]
I have the same issue. Did you ever solved this?


Tank Auth logs user out for no reason - El Forum - 12-11-2013

[eluser]noideawhattotypehere[/eluser]
Are you using some ajax calls?


Tank Auth logs user out for no reason - El Forum - 12-11-2013

[eluser]mlieshout[/eluser]
That's the whole issue, I've read a lot of posts about problems when using Ajax calls, but I don't use them.

This is what my session config looks like:

$config['sess_cookie_name'] = 'cisession';
$config['sess_expiration'] = 7200;
$config['sess_expire_on_close']= FALSE;
$config['sess_encrypt_cookie'] = TRUE;
$config['sess_use_database'] = TRUE;
$config['sess_table_name'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent']= TRUE;
$config['sess_time_to_update'] = 3600;

The site has CI 2.1.4 and Tank Auth 1.0.9

For some reason, people lose their sessions and have to login again. It happens at random time intervals, even within a few minutes.