[eluser]CI_NYC[/eluser]
After a couple of days of digging, I found the problem is in the libraries/Session.php. when you set session length to 0, it actually set it to 0+time().
If you would like to have that fixed, change the line in _set_cookie() that looks like:
$this->sess_expiration + time(),
to
$this->sess_length + ($this->sess_length == 0) ? 0 : time(),
In the same file, setting session length to 0 actually is be converted to 2 years.
if ($this->sess_expiration == 0)
{
$this->sess_expiration = (60*60*24*365*2);
}
You need to comment out that too.