Welcome Guest, Not a member yet? Register   Sign In
[ask] ci_sessions table do we need to delete it?

hello, i just want to ask.
i am using ci session with database. so all of our session are on this ci_sessions on our database and it can get pretty many rows considering that the session_id keep changing every 5 minutes.

my question is, do we need to delete it say every one a month / week maybe?


The CodeIgniter's Session class has built-in garbage collection which clears out expired sessions so you do not need to write your own routine to do it.

okey, thanks for the information @sudz Smile

Theme © iAndrew 2016 - Forum software by © MyBB