I'm developing an mobile application, people login with accounts that stored in sql. I gave a new guid for each login, that guid stored in sql and mobile device. But in this scenario user can login another mobile device cuz i check guid from device. There is something wrong but i can't figure it out. User can login with 2 mobile device and we dont want that.
Preferences.Get("myCurrentUserID", "");
I save userID guid from that sample code. Than compare it another guid that come from service and if they are the same no problem for us but if they are not same; it means there is another device logged in.
Would you please give me an idea how to fix this problem?