hi everyone :) i develop the form that get data from users and search with amazon api then i want to show results in another page , i just redirect to another page with my result parameters , but i cannot access to my parameters in new page , here is my code
$search = new Search();
$search->setCategory('Books');
$search->setKeywords($searchItem);
$search->setPage(2);
$search->setResponseGroup(array('Large'));
$response = $apaiIO->runOperation($search);
$totalResult = $response['Items']['TotalResults'];
$totalPage = $response['Items']['TotalPages'];
$data = array(
'response' => $response,
'totalResult' => $totalResult,
'totalPage' => $totalPage,
'uni' => $unies,
);
return redirect('/searchItem')->with($data);
please help me to solve my problem, thank you :)