I have test.local and subdomain.test.local both configured to work with one yii appliacation
I use demo blog Authentication (http://www.yiiframework.com/doc/blog/1.1/en/prototype.auth)
After authentication on test.local/?r=site/login and redirecting to test.local/?r=site/index
	public function actionIndex()
	{
		echo Yii::app()->user->id;
	}
I get the value of Yii::app()->user->id;
But if i go to subdomain.test.local?r=site/login
I can’t get the value of it.
After a lot of googling i put this to config
        'session' => array(    
            'cookieParams' => array('domain' => '.test.local'),
        ),    
		'user'=>array(
			'allowAutoLogin'=>true,
            'identityCookie' => array('domain' => '.test.local'),
		),
But it doesn’t help me too 
So i can’t access session data from subdomain if it was started on domain.
And i can’t get session data in subdomain even if it was started in subdomain(test.local/?r=site/login).