Authenticating Users
Validating credentials and managing session cookies
HTTP is a stateless protocol. Each request is processed independently by the server and clients must resend all the context with every request.
However, our applications often need to know who is sending a request. We can achieve this using cookies to simulate sessions which can be associated with authenticated users.
Validating credentials and managing session cookies
Managing context on the browser.