February 2022
Beginner
680 pages
11h 34m
English
In the last chapter, I showed you how users can register accounts on the website. Now it’s time to make those accounts functional, so that users can log in to the website. The process is familiar to web users: they enter a username and password, and get access to content that’s unique to their account.
Although a familiar process from the perspective of someone using the website, for a developer, building a website that allows logging in (or user authentication) can seem daunting at first.
By its nature, HTTP is stateless. You connect to a website, and the server gives you a file. As you’ve already seen, you can send data from the browser to the server using GET variables and HTML forms. However, ...
Read now
Unlock full access