Home > Article > Backend Development > How to set the automatic login time in laravel? For example, I want to set up automatic login for 30 days.
How to set the automatic login time in laravel? For example, I want to set up automatic login for 30 days now,
How to set the automatic login time in laravel? For example, I want to set up automatic login for 30 days now,
Set session.php under config
<code>'lifetime' => 43200, 'expire_on_close' => false,</code>
If the driver
layer uses memcached
, please pay attention to http://php.net/manual/zh/memcached.expiration.php if the setting exceeds 30 days.