As in the documentation http://ellislab.com/codeigniter/user-guide/helpers/cookie_helper.html,
set cookie:
$cookie = array(
'name' => 'The Cookie Name',
'value' => 'The Value',
'expire' => '86500',
'domain' => '.some-domain.com',
'path' => '/',
'prefix' => 'myprefix_',
'secure' => TRUE
);
$this->input->set_cookie($cookie);
get cookie:
cookie('The Cookie Name');
delete cookie:
delete_cookie("The Cookie Name");