dynamic variable in controller

Hi I create game in Yii, and I wont pass variable (city_ID) to CityController when redirect, this variable must be visible in all functions in CityController. What is the best method to do this (sorry for English)


This way you can pass particular variable to city controller. From there you have to register in session to access it again and again.

$this->redirect(array('<redirect page>','city_ID'=>$model->id));

$session=new CHttpSession;