creating an account

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

Moderators: Lapo, Bax

Post Reply
jamieyg3
Posts: 84
Joined: 25 Sep 2008, 16:01

creating an account

Post by jamieyg3 »

I have a database for logins, and I want to have a create account button, so people can create a username and password.

so I get them to type in their info and I send a msg to the extension I made but it's not going through... is that because the user is not logged in yet? and if so what's the best way to get around this? php?

Thanks.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Setup a separate Zone for registration.
In that Zone you put a single room with the "Limbo" attribute turned on
Join the user as guest there
Perform the registration
Logout the user
Login the user to the game Zone with its new credentials

Btw: we're releasing a tutorial on this next month
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Alternative:
use the embedded web-server to perform the registration. The server can run Java and Python servlet, so if you're familiar with those you can easily create dynamic web pages that can also interact directly with SFS and its extensions.

Check:
http://www.smartfoxserver.com/docs/docP ... Server.htm
http://www.smartfoxserver.com/docs/docP ... bility.htm
Lapo
--
gotoAndPlay()
...addicted to flash games
Carson
Posts: 2
Joined: 10 Feb 2009, 19:25

Registration Tutorial

Post by Carson »

Btw: we're releasing a tutorial on this next month
Can you please point me to this tutorial? What's it called? I cannot seem to find it.

Is this still the best way to handle a registration system?

Thanks.
Post Reply