• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Session database not working, using cookies does

#5
[eluser]RJ[/eluser]
damn, change coll to UTF8, nothing, same error. what i notice is the error occurs before even my first controller; and after the language file is loaded.

Checking in the session library of CI I found this may be the root of error
Code:
$row = $query->row();
            if (isset($row->user_data) AND $row->user_data != '')
            {
                $custom_data = $this->_unserialize($row->user_data);

                if (is_array($custom_data))
                {
                    foreach ($custom_data as $key => $val)
                    {
                        $session[$key] = $val;
                    }
                }
            }

Now $this->userdata is set at the top and referenced through out, however the first instance of user_data is in the code above line2, line 217 in Session.php. any idea what triggers that and may be causing the error?


Messages In This Thread
Session database not working, using cookies does - by El Forum - 05-12-2009, 10:12 AM
Session database not working, using cookies does - by El Forum - 05-12-2009, 11:18 AM
Session database not working, using cookies does - by El Forum - 05-12-2009, 11:31 AM
Session database not working, using cookies does - by El Forum - 05-12-2009, 11:38 AM
Session database not working, using cookies does - by El Forum - 05-12-2009, 12:35 PM
Session database not working, using cookies does - by El Forum - 05-12-2009, 01:01 PM
Session database not working, using cookies does - by El Forum - 05-12-2009, 01:16 PM
Session database not working, using cookies does - by El Forum - 05-12-2009, 01:51 PM
Session database not working, using cookies does - by El Forum - 05-12-2009, 02:15 PM
Session database not working, using cookies does - by El Forum - 05-12-2009, 02:21 PM
Session database not working, using cookies does - by El Forum - 05-12-2009, 02:23 PM
Session database not working, using cookies does - by El Forum - 09-07-2009, 06:59 AM
Session database not working, using cookies does - by El Forum - 09-07-2009, 12:00 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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