[eluser]Mat-Moo[/eluser]
I've not got full intergration, but I do use this
Code:
$user=$this->input->cookie("member_id"); // get user id from cookie
if ($user<>"")
{
$this->db->where("member_id",$user);
$query=$this->db->get('ibf_members');
if ($query->num_rows()==1)
{
$this->user_id=$user;
$this->user=$query->row_array();
}
}
This allows me to do a basic check to see if the user is logged in. It needs more work, but it might help you start (not very secure etc.)
Edit: Might be an idea to get the session_id cookie as well, and double check the user id against the session data.