HTTP state with cookies, sessions and tokens

Trace Set-Cookie and Cookie, then compare opaque sessions, signed claims and bearer-token storage decisions. Application protocols and a URL journey · Computer networks.

A login seems to persist between two unrelated HTTP requests. Follow the small value that crosses the boundary, then ask where the real state lives.

What you will learn

  • Trace cookie state across requests
  • Compare server sessions with token claims
  • Choose storage and scope attributes from a threat boundary

Lesson outline

  1. A request forgets
  2. The browser carries a cookie
  3. Where session state lives
  4. Storage is part of the design

15 minutes · 4 scenes · 0 predict checks · 10 quiz questions

The full lesson is available with Premium.