Strange session behavior
If you do nothing, the session does not work either in the view or in the controller (public function actionTest ()), but if you write Yii :: app () -> getSession (); The controller does not work, help, please!
Session config:
'session' => array ( 'sessionName' => 'PHPSESSID', 'class'=> 'CDbHttpSession', // 'autoCreateSessionTable '=> 'true' , 'connectionID' => 'db', 'sessionTableName' => 'SessionTable', 'useTransparentSessionID' =>($_POST['PHPSESSID']) ? true : false, 'cookieMode' => 'allow', 'timeout' => 300 )