Persistent Login Problem

I’m using yii2-user from dektrium but I am unable to create a persistent login session like Facebook.

Even if I choose remember me (set to keep login for 60 weeks), after about 30m of inactivity the users is logged out.

I already try to set the ‘authTimeout’ in the “user” component but this make no difference.

How can I create a persistent login system? I want that the user keeps logged in for months

Check your php.ini setting session.gc_maxlifetime