Welcome Guest, Not a member yet? Register   Sign In
Random occurance of session-error
#5

[eluser]heavenquake[/eluser]
UPDATE:
I seem to have caught the bug.

In system/libraries/Session.php, on line 280 is this:
Code:
// 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));
when I replaced that with
Code:
if($this->sess_use_database === TRUE)
{

    // 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));
}
Everything worked out as if it never happened.


Messages In This Thread
Random occurance of session-error - by El Forum - 11-26-2008, 07:23 PM
Random occurance of session-error - by El Forum - 11-27-2008, 08:26 AM
Random occurance of session-error - by El Forum - 11-27-2008, 04:47 PM
Random occurance of session-error - by El Forum - 11-29-2008, 01:15 PM
Random occurance of session-error - by El Forum - 12-01-2008, 12:08 PM
Random occurance of session-error - by El Forum - 12-02-2008, 07:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB