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

[eluser]n1colius[/eluser]
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?
thanks
#2

[eluser]Sudz[/eluser]
Hi,

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.
#3

[eluser]n1colius[/eluser]
okey, thanks for the information @sudz Smile




Theme © iAndrew 2016 - Forum software by © MyBB