CodeIgniter Forums
data Ci_session codeigniter 3 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: data Ci_session codeigniter 3 (/thread-62932.html)



data Ci_session codeigniter 3 - DEV03-ROMAIN - 09-09-2015

Hi,

I store session in database (mysql). Everything works fine when i use classic way.

Ie : $this->session->all_userdata()


My problem is to read and unserialized data field with sql request.


it seems to be hash or something like that before serialized.

The field data looks like this :

nmTcPgiyCqgYmd-3xb7XXogEg3cJAjcIL1ILEIOD2AsS2MHlPcUmMopspw5JC6hplNpHMi8Iry0xmrWTPQTaPA..


I didnt have this on CI 2.


Can anyone help me please ?


RE: data Ci_session codeigniter 3 - Narf - 09-09-2015

You can't reliably read it, and you shouldn't.


RE: data Ci_session codeigniter 3 - DEV03-ROMAIN - 09-14-2015

My problem is solved.

The field was crypted with debian packet suhosin. Just found it after create this thread. Hope it can help.

Anyway, thanks for the answer.