[eluser]davidinchi[/eluser]
[quote author="WanWizard" date="1352360224"]There is no table called user_login_sessions in CI, so this is an application code issue, not a framework issue.[/quote]
I'm not sure, the problem comes with the last line in CodeIgniter.php, when database is closed. Two SQL sentences are executed:
DELETE FROM `user_login_sessions` WHERE `usess_uacc_fk` = 'A USER ID';
and
UPDATE `ci_sessions` SET `user_data` = 'a:1:{s:9:"user_data";s:0:"";}'
I know it because I create triggers to watch what's happening.