Answers for "flush one data from session in laravel 8"

PHP
0

session flush laravel

// Forget a single key...
$request->session()->forget('name');
// Forget multiple keys...
$request->session()->forget(['name', 'status']);

$request->session()->flush();
Posted by: Guest on April-23-2021

Browse Popular Code Answers by Language