hi
I’ve set the session using Yii::app()->session and then when i tried to pass the values of these session variables it shows the following error
Object of class CWebUser could not be converted to string 
earlier in my code i set the session using
Yii::app()->session['fbuid']=$userid;
and then i’m trying this
$this->friends = $mCrew->getMembers(Yii::app()->session['fbuid'],$this->sub_roleid);
By the way what’s the difference between setting a session using CHTTPSession and Yii::app()->session
  $session=new CHttpSession;
  $session->open();
  $value1=$session['name1'];  // get session variable 'name1'
  $value2=$session['name2'];  // get session variable 'name2'
  foreach($session as $name=>$value) // traverse all session variables
  $session['name3']=$value3;  // set session variable 'name3'
what will be the equivalent code for the above using yii::app()->session?