Welcome Guest, Not a member yet? Register   Sign In
Code Igniter 1.7.3 database back sessions expire randomly
#11

[eluser]toopay[/eluser]
InsiteFX, what is the different between your table schema with this : http://ellislab.com/codeigniter/user-gui...sions.html
#12

[eluser]InsiteFX[/eluser]
What I posted is for CodeIgniter 2.0+

But if you look at the above table look at the user_agent field varchar(120) it use to be varchar(50)

The session table has not been updated to reflect this yet.

InsiteFX
#13

[eluser]blasto333[/eluser]
Changing to $config[‘sess_time_to_update’] = PHP_INT_MAX; still has the sessions randomly disappear. Any other ideas?
#14

[eluser]Jesus TG[/eluser]
Hello,

Just I put the same time in "sess_expiration" and "sess_time_to_update" (4 hours), and It was working fine!

$config['sess_expiration'] = 14400;
$config['sess_time_to_update'] = 14400;




Theme © iAndrew 2016 - Forum software by © MyBB