Log In System: DWMX 2004

Check user name and taken page

To prevent users from adding a username that has already been taken, add the username validation behavior. Go to User Authentication>Check New User Name. If the name already exists, the user goes to the taken.php page where there will be a message to warn him that the name is not available. There will also be a link back to the registration page so that the user can try again.

check user name behavior dialog box

Now test your login system in the browser. Log in with your default admin user name. From the members page, click on the admin link to see that you, the administrator, can access this page. Now log out. When you reach the log in page again, click the sign up button and register a new user. This new user will automatically take on member status. You can test your username validation by trying to create another user with the same name as a current member.

That's it! I hope your login system works and that you feel a great sense of accomplishment at making a complex Web application.