CodeIgniter Forums
How is native and CI session data stored in the DB? - 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: How is native and CI session data stored in the DB? (/showthread.php?tid=3955)



How is native and CI session data stored in the DB? - El Forum - 10-30-2007

[eluser]sherbo[/eluser]
Hello,

What format does CI use to store session data in a MySQL DB?

If I want to add new custom session attributes, do I need to modify the session DB table?

cheers,
Sherban


How is native and CI session data stored in the DB? - El Forum - 10-30-2007

[eluser]Majd Taby[/eluser]
It doesn't, see this: http://ellislab.com/forums/viewthread/63603/


How is native and CI session data stored in the DB? - El Forum - 10-30-2007

[eluser]Derek Allard[/eluser]
It doesn't store session data in the database table... yet. This is something I'm working on. As for adding new session data, you don't need to change anything.