show session laravel code example
Example 1: print session in laravel
dd(session()->all());
Example 2: set session in laravel
session(['variableName' => $value]);
dd(session()->all());
session(['variableName' => $value]);