I am trying to set the session id like this when logging in:
However the second row with the sessionId is not working. I've also tried to set it like CHttpSession::getSessionId() but that is not working either.
What am I missing here?
Quote
$this->setState('role', $user->role);
$this->setState('sessionId', Yii::app()->getSessionId());
$this->setState('sessionId', Yii::app()->getSessionId());
However the second row with the sessionId is not working. I've also tried to set it like CHttpSession::getSessionId() but that is not working either.
What am I missing here?