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


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!

_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...

Ok, thanks a lot.

Theme © iAndrew 2016 - Forum software by © MyBB