Hey guys, I'm starting out with CI and there's something I don't understand. I'm writing this login page and I'd like to add the users object to the session. How do I do that? The user object comes from my user model.. For a new instance I write:
$this->load->model('user_model', 'user');
ama bu iş olmaz:
$this->session->set_userdata('userobject', $this->user);
Herhangi bir fikir bu nasıl yapılır?