Double user login avilability

You think you've found a bug? Please report it here.

Moderators: Lapo, Bax

Post Reply
tzahiy
Posts: 6
Joined: 13 Aug 2012, 07:05

Double user login avilability

Post by tzahiy »

Hello! There is a bug that allows to make login twice for the same user to the same server. It works like this: user makes a login, he may change his room on server. Then we make login attempt for the same user from different machine or browser, and the first login is kicked (as it must be). But then, if the second one changes his room away from the "entry room", the first can do login and enter the server, and so we have two same users on one server (in different rooms). Is there anybody who had the same problem? Is there any patch to this?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Double user login avilability

Post by Lapo »

Hi,
you haven't provided much information about the version of SFS that you're using, the client platform (Unity, Flash, iOS...) and version of the client API.
But then, if the second one changes his room away from the "entry room", the first can do login and enter the server
This is not very clear.
Changing Room is not relevant to the login request. If the User "X" is already logged in, another user "X" won't be able to login with that same name, regardless of the Room he is in.

Can you please provide the info I have mentioned above and a step by step description of how to reproduce the problem?

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
tzahiy
Posts: 6
Joined: 13 Aug 2012, 07:05

Re: Double user login avilability

Post by tzahiy »

Hi! Thank you for reply. We're using AS3 Flash API, server version 1.6.18. The point is that it's not supposed to allow to login for the same user that already logged in, but there is a way it does. It can be reproduced by attempting to login by the user that have been kicked because of double login.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Double user login avilability

Post by Lapo »

Can you describe the steps to reproduce the problem?
Lapo
--
gotoAndPlay()
...addicted to flash games
tzahiy
Posts: 6
Joined: 13 Aug 2012, 07:05

Re: Double user login avilability

Post by tzahiy »

1. Open client in "browser 1" (IE for example).
2. Log in with some user (let's say name:"John" password:"@#QW12")
3. Open "browser 2" (or go to another pc) and do login with the same user (John, @#QW12).
4. The first login on "browser 1" will be kicked as it must be and "browser 2" will be logged in.
5. Now, we try to return "browser 1" to login - we do login with John, @#QW12 on "browser 1".
6. We see that user on "browser 2" will NOT be kicked as it must be. That's the problem.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Double user login avilability

Post by Lapo »

Thanks, we're going to check and let you know.
Lapo
--
gotoAndPlay()
...addicted to flash games
tzahiy
Posts: 6
Joined: 13 Aug 2012, 07:05

Re: Double user login avilability

Post by tzahiy »

Is there any progress with the issue?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Double user login avilability

Post by Lapo »

I am sorry, we were not able to reproduce the problem. Can you send us a proof of concept that we can test?
You can zip the files and send them to our support@... email box with a reference to this thread.

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply