CodeIgniter Forums
Session timeout 0 not working - 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: Session timeout 0 not working (/showthread.php?tid=59104)



Session timeout 0 not working - El Forum - 08-24-2013

[eluser]lama[/eluser]
Hi guys


I'm using CI 2.1.4 and I set
Code:
$config['sess_expiration'] = 0;
but sometime when I'm in my dashboard I'm unlogged automaticaly by the site...

The context is the following :

I'm using 2 applications for 1 system, but both applications use the same encryption key, session table and the same timeout.

This problem appear when I submit a form when after I pick up session data to add it in the database.

Anyone has an idea ?

Thanks.