I am experiencing a very odd behaviour. I built my application with CakePHP and I use Nick Baker's Facebook Plugin.
When I log in, everything works ok. When somebody else logs in, again, everything works fine. But if someone logs in in the same time I am logged in, the correct User id is remembered in Auth for that User, but the Facebook data is taken from my account.
So, if I have User id 1 and John has user id 2 and each one of us logs in the application in the same time, the correct IDs are stored in the Auth Component (1, respectively 2). But if I visit a page which shows data from the corresponding profile, I see my picture and my Facebook data, but John also sees my picture and my data, instead of his.
Why is this happening? I really need help with this as it's beyond my understanding.
Thank you very much!