I want to send parameters with url , I try these both ways
First way
return $this->_helper->redirector->gotoSimple('index','visit','visits',$params);
and this way
$urlOptions = array('module' => 'visits', 'controller' => 'visit'
, 'action' => 'index', 'page' => 'add');
$this->_helper->redirector->gotoRoute($urlOptions);
and the url becomes like this
http://localhost/zendApps/InspectionSys/public/visits/visit/index/page/add
but the redirection goes to the default page not to add page!
You need to pass the params into an array. That way, you can pass as many as you like.