Jee*_*usu 32
假设您正在使用会话驱动程序来处理身份验证,您可以更改空闲会话在/app/config/session.php文件中过期的时间段.
/*
|--------------------------------------------------------------------------
| Session Lifetime
|--------------------------------------------------------------------------
|
| Here you may specify the number of minutes that you wish the session
| to be allowed to remain idle before it expires. If you want them
| to immediately expire on the browser closing, set that option.
|
*/
'lifetime' => 120,
'expire_on_close' => false,
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
21851 次 |
| 最近记录: |