duplicate login user

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
sridhar
Posts: 49
Joined: 11 Nov 2009, 07:05

duplicate login user

Post by sridhar »

Hi

Is there an event which will let us know that the user name with which the user is trying to login is already in use ?

As of now , if we try to login with an user name which is already logged in , the login will be unsuccessful . We are using the Custom login feature .

Thanks
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

Code: Select all

var obj = _server.loginUser(name, pass, chan);
if (obj.success)
{
	//login was successful
}
else
{
	//login was unsuccessful (user may have been taken)
}
Smartfox's forum is my daily newspaper.
sridhar
Posts: 49
Joined: 11 Nov 2009, 07:05

Post by sridhar »

Thanks Big Fish :D
Post Reply