using laravel session in blade code example
Example 1: set session in laravel
Session::get('variableName');
Example 2: session variable in laravel
$request->session()->put('key','value');
Session::get('variableName');
$request->session()->put('key','value');