Issue Bug Closed

#21433FE lifetime is ignored

Sun 08/11/10, 16:23 updated 08/17/11, 19:01

Description

Despite the fact, that i´ve defined a lifetime greater than 0 via the install tool, cookies are always set as session cookies.

In class.t3lib_userauth.php the function call $this->isRefreshTimeBasedCookie() (line 321) gives always FALSE, so the Variable $cookieExpire is set to 0, which results in a session cookie.

So i replaced the function call with the code ($this->lifetime > 0) from isRefreshTimeBasedCookie() into the calling function setSessionCookie() and it worked. It seems that the function call ($this->isRefreshTimeBasedCookie()) doesn`t work properly.
(issue imported from #M15429)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.