Artisan command for clearing all session data in Laravel

前端 未结 9 916
北荒
北荒 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:50

    If you use database session , just delete all data on that table. In my case it is 'sessions' table.

提交回复
热议问题