I am using Yii framework for my project;
I am redirecting page after success of insertion in database to another controller using
$this->redir
Try:
$this->redirect(array('controller/action', 'param1'=>'value1', 'param2'=>'value2',...))
api yii 1, api yii 2