Hi, I have a newbie question - how can I check if somebody is using this login now?
Cause right now i can login a couple of times using the same account.
So the question is: if there is a user with username"test", passowrd "pass" and I login using this data in the first instance of my game, how not to let another player to login using the same username-password.
Thanks!
Since HTTP is an asynchronous protocol, you cannot block logging in with same user from different devices/platforms unless you really want to rely on the logout (that's not really suggested). Anyway, as you may have noticed, upon each login a new GUID value (session token) is generated and associated to the user in the database so this invalidates any request of the previous logged device.
FRANCESCO CROCETTI @ SKARED CREATIONS