Welcome Guest, Not a member yet? Register   Sign In
CI Session question
#1

[eluser]bogdan3l[/eluser]
Hello!

I use the ci session library with my database and i have a question:
- how ci sessions stored in the database are deleted?

I have sessions from last week and are not deleted...

Any help?

Thanks a lot!
#2

[eluser]ChiefChirpa[/eluser]
_sess_gc is called whenever you create a session, this function randomly (5% chance) deletes all sessions older than your sess_expiration value.

Also individual sessions are destroyed if they time out, fail to validate, etc...

Take a look at the Session library...
#3

[eluser]bogdan3l[/eluser]
Ok, thanks a lot.




Theme © iAndrew 2016 - Forum software by © MyBB