Basics web developers should know about HTTP authentication and sessions
medium.com