Welcome Guest, Not a member yet? Register   Sign In
How to I delete the sessions that are inactive from the database?
#1

[eluser]Unknown[/eluser]
if the user click on 'logout' the CI delete from the database, but if the user exit browser (alt+f4) the session keep on the database.

How to I delete the sessions that are inactive from the database?
#2

[eluser]JoostV[/eluser]
The 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.




Theme © iAndrew 2016 - Forum software by © MyBB