Am a newbie
In my application i want to implement two login instances
1.Jobseeker
2.Recruiters
So far i have being able to do it but the Yii::app()->recuiter->isGuest and Yii::app()->jobseeker->isGuest
still refer to each other. This is my configuration.
‘components’=>array(
	'user'=>array(
		// enable cookie-based authentication
		//'allowAutoLogin'=>true,
                    'loginUrl'=>array('companydetails/accessdenied'),
                    'returnUrl'=>array('companydetails/comarea'),
                    'stateKeyPrefix'=>'_com'
	),
            'jobseeker'=>array(
		// enable cookie-based authentication
		//'allowAutoLogin'=>true,
                     'class'=>'CWebUser',
                    'loginUrl'=>array('jobseeker/j_logins'),
                    'stateKeyPrefix'=>'_js',
                   // 'returnUrl'=>array('jobseeker/jsarea'),
	),
Please help!!! 