session keeps expiring |
[eluser]keevitaja[/eluser]
i'm having problem with ci session expiring. maybe after 5 minutes or so. anyone has an idea why it is doing that? Code: $config['sess_cookie_name'] = 'ci_session';
[eluser]vbsaltydog[/eluser]
Quote: Is your ISP changing your IP address?
[eluser]InsiteFX[/eluser]
Raise this value up: Code: $config['sess_time_to_update'] = 600; // 600 = 10 minutes - 300 = 5 minutes Also make sure your session table is correct! Code: -- ------------------------------------------------------------------------
[eluser]keevitaja[/eluser]
ip is not changing. i have same fenomenon on the local and public machine. mysql table is ok. and update time set to 600. still session expiring. any thoughts?
[eluser]keevitaja[/eluser]
changing session.gc_maxlifetime doesn't help. i'll try fresh ci installation...
[eluser]keevitaja[/eluser]
http://dl.dropbox.com/u/60672885/phpinfo.pdf not sure if it helps. session keep expiring on zone.ee web hosting as well... my site is http://lu.ee
[eluser]keevitaja[/eluser]
ok, session is alived according to $config['sess_time_to_update'] = 3; on CI fresh install. after specified time session_id is renewed. where did i go wrong or is it supposed to do that?
[eluser]InsiteFX[/eluser]
@Bhashkar It is possible, but I have always seen it set to a default. It almost sounds like he is getting a session_destroy someplace. This is what my php.ini session stuff is set to: Code: session.gc_probability = 1 |
Welcome Guest, Not a member yet? Register Sign In |