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