login() with duration (remember me) not working, cookie lifetime wrong

Hi.

Simple case: basic-app installed, nothing changed, esp. enableAutoLogin is true

I expect a login to set the identity cookie with a lifetime of 30 days, but it always sets a browser-session cookie (lifetime = 0)

So on revisiting the site (after closing the browser) I’m no longer logged in.

Am I doing sth. wrong or is there some trouble under the hood?

Stephan

Solved:

Problem wasn’t yii. It was a browser misconfiguration. Shame on me :)