laravel access session in blade code example
Example 1: session variable in laravel
$request->session()->put('key','value');
Example 2: laravel get session variable in controller
$value = Session::get('variableSetOnPageA');
Example 3: session in laravel
session()->regenerate();