Retrieving Input: Old Input
Flashing Input To The Session
The flash method on the Illuminate\Http\Request class will flash the current input to the session so that it is available during the user's next request to the application.
You may also use the flashOnly and flashExcept methods to flash a subset of the request data to the session.
Flashing Input Then Redirecting
Return redirect('form')->withInput();
return redirect('form')->withInput(
$request->except('password')
);
Since you often will want to flash input to the session and then redirect to the previous page, you may easily chain input flashing onto a redirect using the withInput method.