......
else{ $url="http://".$_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];Yii::app()->user->setReturnUrl(array($url));
echo '<script type="text/javascript">alert(" You have exceeded your limit ");</script>'; $this->redirect(Yii::app()->user->returnUrl);}
this does not get me back to my page can I know what is wrong?