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. I’m using the User Management Module 0.5, though I don’t know if that’s anything to do with it. The only difference between the machines is one is x64 and the other is x32 - again - I don’t think that has anything to do with it.
How could Yii::app()->user->id be getting the username? What have I missed?