how to echo the session variable in laravel controller code example Example: laravel get session variable in controller $value = Session::get('variableSetOnPageA');