how to pass parameter on redirect in yii
Asked 07 September, 2021
Viewed 3K times
  • 64
Votes

I am using Yii framework for my project;

I am redirecting page after success of insertion in database to another controller using


  

$this->redirect($this->createUrl('controller/action'));

During the redirection is it possible to pass any parameters just like in render,


  

$this->render('selectRefiner', array('param' => $data)

4 Answer