CodeIgniter Forums
db_sessions and deleting - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: db_sessions and deleting (/showthread.php?tid=12292)



db_sessions and deleting - El Forum - 10-13-2008

[eluser]Skinnpenal[/eluser]
Hi guys!

I use db_session and notice that on logout / sess_destroy() it doesn't delete the db row for the session.

I want it to be deleted for some functionality in my app, but would deleting it pose a security risk? is there a good reason why the db_session class normally doesn't delete the row?