Chapter 3. The Login Page
It is very common to have a login page for an application of which we want to control the access to the system by identifying and authenticating the user through the credentials presented by the user. Once the user is logged in, we can track the actions performed by the user. We can also restrain access to some features and screens of the system that we do not want a particular user to have access to or even a specific group of users.
In this chapter, we will cover:
- Creating the login page
- Handling the login page on the server
- Adding the Caps Lock warning message in the Password field
- Submitting the form when pressing the Enter key
- Encrypting the password before sending to the server