Alice logs in
Alice signs in and adds two things to her cart. Her request happened to land on Server A, which keeps a session in its memory: who she is and what’s in her cart.
Her browser holds a cookie with the session id, so later requests can find it again.
Key idea
State is anything a server remembers between requests: logins, carts, half-finished uploads.