Welcome Guest, Not a member yet? Register   Sign In
CI session library BUG?
#11

[eluser]vps4[/eluser]
[quote author="Dam1an" date="1245113841"]Are you using redux auth 1.4 or 2? As they both have differant schemas for the sessions table
1.4 doesn't have a field for userdata which is wierd :S[/quote]

thanks, i use redux auth 2.0 beta.
#12

[eluser]vps4[/eluser]
[quote author="TheFuzzy0ne" date="1245114222"]So the problem is with Redux and not CodeIgniter?[/quote]

I think this code is not preciseness
Code:
if (count($custom_userdata) === 0)
        {
            $custom_userdata = '';

// I think here must do something. because the user_data field is NOT NULL

        }
        else
        {
            // Serialize the custom data array so we can store it
            $custom_userdata = $this->_serialize($custom_userdata);
        }

        // Run the update query
        $this->CI->db->where('session_id', $this->userdata['session_id']);
        $this->CI->db->update($this->sess_table_name, array('last_activity' => $this->userdata['last_activity'], 'user_data' => $custom_userdata));




Theme © iAndrew 2016 - Forum software by © MyBB