laravel session get in blade code example
Example 1: get session blade
{{ session()->get('name') }}
Example 2: laravel get all session data
$data = $request->session()->all();
Example 3: laravel get session variable in controller
$value = Session::get('variableSetOnPageA');