- login page: identifies username and password from customers
- errorlogin page: will be reached if user name or password or customer account is invalid.
- customerControl page: the customers will come to their member area after their account user name and password are validated.
I move on to create Login Function by Dreamweaver.
On the Server Behavior, I drop down the menu to choose User Authentication then select Log In User.
Setup data so that user name and password on the form of login page can match to data in customer table.
then, I test on the browser. I try "aaa" for both user name and password then I reach to errorlogin page which show error text
If I successfully login, it will past me to customerControl page which show me some new navigations.
Moreover, I also create validation file by JavaScript, it help me validate all the text fields in login page and register page.
In the browser view, the test will show
when user try to pass without entering data on both text fields
If the user only input data in the password, the error will be caught and announced for username.
Besides that, the password error will be shown if user forget to input.
No comments:
Post a Comment