laravel 8 how to use Session:: code example
Example 1: set session in laravel
Session::put('variableName', $value);
Example 2: session laravel
session(['name' => 'data']);
Example 3: session in laravel
session()->regenerate();
Session::put('variableName', $value);
session(['name' => 'data']);
session()->regenerate();