Redirect to last page


/ Published in: PHP
Save to your folder(s)

[ Yii Framework ] Use this to redirect to previous page or last request URL


Copy this code and paste it in your HTML
  1. $this->redirect(Yii::app()->request->urlReferrer);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.