Welcome Guest, Not a member yet? Register   Sign In
Keeping CI Session Alive
#5

[eluser]LeMec[/eluser]
Hello,

sess_expiration time is one thing, but it does not help all the time...
The only way the problem was solved for me was to do this:

Code:
$config['sess_time_to_update']  = PHP_INT_MAX;

Essentially telling CI to never change the encryption.
I read a while back that the problem has to do with Ajax...

On an Ajax request, the database session info might be re-encrypted, but the web browser might not causing the log out...

We need to tell CI not to update if it is an Ajax request but I don't know how.

Alain


Messages In This Thread
Keeping CI Session Alive - by El Forum - 06-14-2012, 01:24 AM
Keeping CI Session Alive - by El Forum - 06-14-2012, 03:28 AM
Keeping CI Session Alive - by El Forum - 06-14-2012, 10:31 AM
Keeping CI Session Alive - by El Forum - 06-14-2012, 10:35 AM
Keeping CI Session Alive - by El Forum - 06-14-2012, 10:44 AM
Keeping CI Session Alive - by El Forum - 06-14-2012, 12:19 PM
Keeping CI Session Alive - by El Forum - 06-14-2012, 12:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB