EAuthServiceBase.php
protected function getState($key, $defaultValue = null) {
		$session = Yii::app()->session;
		$key = $this->getStateKeyPrefix() . $key;
		return isset($session[$key]) ? $session[$key] : $defaultValue;
	}
protected function getState($key, $defaultValue = null) {
		$session = Yii::app()->session;
		$key = $this->getStateKeyPrefix() . $key;
		return isset($session[$key]) ? $session[$key] : $defaultValue;
	}
protected function getState ( $ key , $ defaultValue = null ) { $ session = Yii :: app ( ) -> session ; $ key = $ this -> getStateKeyPrefix ( ) . $ key ; return isset ( $ session [ $ key ] ) ? $ session [ $ key ] : $ defaultValue ; }
Returns the value of a variable that is stored in eauth session.

@param string $key variable name.
@param mixed $defaultValue default value.
@return mixed the value of the variable. If it doesn't exist in the session,
the provided default value will be returned.
@see setState
Returns the value of a variable that is stored in eauth session .