Welcome Guest, Not a member yet? Register   Sign In
CI session and session ID
#2

[eluser]haXis[/eluser]
I did a little research in code and I think the best solution is add an extra db query in the Session library.

After
Code:
$this->CI->db->query($this->CI->db->update_string($this->sess_table_name, array('last_activity' => $this->now, 'session_id' => $new_sessid), array('session_id' => $old_sessid)));

Add
Code:
$this->CI->db->query($this->CI->db->update_string('my_table', array('session_id' => $new_sessid), array('session_id' => $old_sessid)));

Hope that helps anyone else with similar problems.

Another suggestions are welcomed.


Messages In This Thread
CI session and session ID - by El Forum - 03-05-2010, 05:07 AM
CI session and session ID - by El Forum - 03-05-2010, 06:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB