[eluser]Cálcio[/eluser]
Hi guys.
I have used the cookie from CI using the method
$this->ci->load->helper('cookie'); and I'm setting the cookie like this:
Code:
set_cookie(array(
'name' => "autologin",
'value' => $login,
'expire' => 5184000,
));
So, when I print the value using a simple method in my controller, the data return the correct value, however seems the expire time don't work. I think the value the expire is 60 days, but with a few minutes I lost my session.
Someone have a idea for this behavior.
Tnks.