Check-out the documentation, especially the remember_login_cookie_lifetime, session_lifetime and session_keepalive parameters.
Check-out the documentation, especially the remember_login_cookie_lifetime, session_lifetime and session_keepalive parameters.