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