Artisan command for clearing all session data in Laravel

前端 未结 9 948
北荒
北荒 2021-02-04 02:16

What is the artisan command for clearing all session data in Laravel, I\'m looking for something like:

$ php artisan session:clear

But apparent

9条回答
  •  无人共我
    2021-02-04 02:57

    I know this is an old thread, but what worked for me is just remove the cookies.

    In Chrome, go to your develop console, go to the tab "Application". Find "Cookies" in the sidebar and click on the little arrow in front of it. Go to your domainname and click on the icon next to the filter field to clear the cookies for your domain. Refresh page, and all session data is new and the old ones are removed.

提交回复
热议问题