EllisLab/CodeIgniter — Issue #580: Expires don't sets using set_cookie
Author: JohnJohn2
Created: 2011-10-15 22:00:52+00:00
State: open

Expires don’t sets. Cookie deleted on browser exit.
$cookie = array(
'name' => 'TheCookieName',
'value' => 'The Value',
'expire' => time() + 86500,
'path' => '/',
'secure' => false
);
$this->input->set_cookie($cookie);