Yii Framework Forum: Url Provenienza - Yii Framework Forum

Jump to content

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

Url Provenienza Rate Topic: -----

#1 User is offline   roccodelux 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 27
  • Joined: 08-September 12

Posted 18 December 2012 - 10:39 AM

Dopo che un' utente ha eseguito un'azione (tipo login) vorrei che fosse rispedito alla pagina di provenienza. Come faccio a conoscere l'url di provenienza ? Grazie a tutti
0

#2 User is offline   sensorario 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,987
  • Joined: 07-September 10
  • Location:Cesena (Italy)

Posted 18 December 2012 - 11:45 AM

E' una cosa che fa giĆ  Yii se non sbaglio.
0

#3 User is offline   emafer 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 182
  • Joined: 23-February 12
  • Location:Amandola

Posted 18 December 2012 - 12:32 PM

Yii::app()->request->urlReferrer;

questo ti dice da dove veniva...
0

#4 User is offline   roccodelux 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 27
  • Joined: 08-September 12

Posted 20 December 2012 - 10:49 AM

Grazie emafer
Risolto
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