I have a very strange problem in that on one machine Yii::app()->user->id;
returns the username, but on another machine running identical code I'm getting the id number as expected.
How could Yii::app()->user->id
be getting the username? What have I missed?