user session not shared in module?

hi, i have an admin module,


class AdminModule extends CWebModule

{


	public function init()

	{

		$this->setImport(array(

			'admin.models.*',

			'admin.components.*',

		));

		Yii::app()->user->setStateKeyPrefix('_admin');

	}

.........




and doing accessControl.

after doing that, i found that when i access to mydomain/admin

all the user login information in Yii::app()->user are not shared in module.

but when i back to app it self i have them back.

can anyone teach me how to configure so that my admin module share the user session?

i think i shouldn’t add the line

Yii::app()->user->setStateKeyPrefix(’_admin’);

now i know. thank you.