• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
data Ci_session codeigniter 3

#1
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 ?
Reply

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

#3
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.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.