CodeIgniter Forums
Userdata column in CI session. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Userdata column in CI session. (/showthread.php?tid=61628)



Userdata column in CI session. - Bugfixer - 05-02-2015

What exactly the Value in userdata column of CI session table interprets. This data is in serialize form.Can anybody explain this field value.


RE: Userdata column in CI session. - CroNiX - 05-02-2015

Its all of the custom session data that you set, which gets serialized and stored in a single field in the db. In CI2 it's a slightly custom format. In CI3, it's the native $_SESSION format (like if you were to open a session file).


RE: Userdata column in CI session. - madaan_tushar - 05-25-2015

The data present in session_userdata is in array form. Smile