CodeIgniter Forums
Tank Auth session expiry - 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 session expiry (/showthread.php?tid=45247)



Tank Auth session expiry - El Forum - 09-14-2011

[eluser]wwwald[/eluser]
I'm working on an ExtJS web application that communicates a lot of data over Ajax calls. For now, I have set up the "out-of-the-box" Tank Auth login system for accessing the web app. For development, I'm using Chrome 13 for testing the site.

One thing I'm noticing is that after some time, the session expires by itself. While I'm testing and continuously refreshing the page, at one point the page itself (or one of the server-side JSON-generating controllers) will return a failed authentication message.

In my session config, parameters are the default ones with "sess_expiration" set to 7200 seconds = 2 hours. However, the authentication failures usually come earlier than that.

Can anyone tell me where to start looking for the cause of this?