Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Session expiry time question
#2

[eluser]minerbog[/eluser]
How stupid do I feel!!!!

Problem solved, but there was never really a problem at all! Maybe this advice can be useful to anyone else who is just started with CI sessions!

To test the expiry of session I set the sess_expiration to 60 sec, but forgot the sess_time_to_update variable. I had the time to update set higher that the expiration so of course, if the session never updates it cannot stay alive and will always expire!!! DOH!

So advice to session newbie's, ALWAYS set your expiry time to a longer period than your update time!


Messages In This Thread
[SOLVED] Session expiry time question - by El Forum - 08-18-2010, 08:00 AM
[SOLVED] Session expiry time question - by El Forum - 08-18-2010, 09:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB