[ask] ci_sessions table do we need to delete it? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: [ask] ci_sessions table do we need to delete it? (/showthread.php?tid=57397) |
[ask] ci_sessions table do we need to delete it? - El Forum - 03-12-2013 [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 [ask] ci_sessions table do we need to delete it? - El Forum - 03-12-2013 [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. [ask] ci_sessions table do we need to delete it? - El Forum - 03-13-2013 [eluser]n1colius[/eluser] okey, thanks for the information @sudz |