Yii Framework Forum: incorrect Yii::app()->user->returnUrl - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

incorrect Yii::app()->user->returnUrl Rate Topic: -----

#1 User is offline   vamp 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 181
  • Joined: 30-January 09

Posted 12 February 2009 - 12:08 PM

I use:

'urlManager'=>array(
'showScriptName'=>false,
'urlSuffix'=>'.html',
'urlFormat'=>'path',
'rules' => array(
...
)



but in CWebUser i found next lines:


public function getReturnUrl()
{
return $this->getState('_returnUrl',Yii::app()->getRequest()->getScriptUrl());
}

0

#2 User is offline   Trejder 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,181
  • Joined: 06-October 10
  • Location:Southern Poland

Posted 13 October 2012 - 02:42 PM

And... what seems to be your problem here?
Proud Cookbook author, though still learning powerful Yii! :] See my generic profile for more information. Cheers!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users