Flash data in laravel
flash used to store the session for the next request. Data stored in the session for the subsequent request,this is used for short living message. $request->session()->flash(‘status’, ‘Task was successful!’); Click here for more interview questions