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