CodeIgniter Forums
db_sessions and deleting - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: db_sessions and deleting (/thread-12292.html)



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?