How to save data to session in yii
Use getState() and setState().
http://www.yiiframework.com/doc/api/1.1/CWebUser#setState-detail