Can't really find a clear answer on how to keep WordPress login sessions alive when users close their browser.
I found a clear general explanation about why this happens from reko_t, but anything (which is not much) I find about this specific to WordPress only states why WordPress sessions with (such?) expirations might cause issues.
Could I just set session.cookie_lifetime and session.gc_maxlifetime in php.ini, can I use a filter (like auth_cookie_expiration) to have WordPress set these values when starting the session or is there another way to accomplish this without causing issues?