How to set session timeout in Laravel?

后端 未结 4 1070
礼貌的吻别
礼貌的吻别 2020-12-03 05:35

Is there an inherent way to setup sessions to expire after a certain time. My current setup seems to be expiring after 30 minutes and I would like to disable that or at leas

4条回答
  •  北海茫月
    2020-12-03 05:41

    App\Config\Session.php

    check for lifetime...

    you can also set...

    Cookie::make('name', 'value', 60); // 1 hr
    

提交回复
热议问题