Function used to retrieve all session data $data = $request->session()->all(); Click here for more interview questions