access session in blade laravel code example
Example 1: get session blade
{{ session()->get('name') }}
Example 2: set session in laravel
Session::put('variableName', $value);
Example 3: set session data in laravel
$value = Session::get('key');
$value = session('key');