Concept Flow - Session-based authentication
User submits login form
Server checks credentials
Create session
Store session ID in cookie
User requests protected page
Server reads session ID from cookie
Allow access
This flow shows how a user logs in, the server creates a session stored in a cookie, and later requests check that session to allow or deny access.