Issue Bug Closed

#51964FE lifetime is ignored when anonymous user

Pierre Boivin 09/12/13, 23:33 updated 11/11/14, 14:48

Description

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

Permalogin setting change nothing since, it’s for a cookie without a user connected.

Seems to be related to #21433.

Function “FrontendUserAuthentication->isRefreshTimeBasedCookie” is used but I think that the function “AbstractUserAuthentication->isRefreshTimeBasedCookie” should be used instead when user is not connected.

In “isRefreshTimeBasedCookie” at line 214, if I delete “$this->user[‘ses_permanent’]” everything is fine.

Reviews 1