Making sure the chosen user name is unique
You add a server behavior to make sure the user name entered is not taken by another registered user.
When the user clicks the Submit button on the registration page, the server behavior compares the user name entered by the user against the user names already stored in the database table of registered users. If no matching user name is found, the server behavior carries out the insert record operation normally. If a matching user name is found, the server behavior cancels the insert record operation and opens a new page (usually a page alerting the user that the user name is already taken).
To make sure the chosen user name is unique:
1 |
In the Server Behaviors panel (Window > Server Behaviors), click the plus (+) button and choose User Authentication > Check New Username from the pop-up menu. |
|
The Check New Username dialog box appears. |
|
|
|