All challenges
Multiple ChoiceIntermediate 30s

Sessions vs JWT

Compared to JWT, server sessions make revocation:
Options
  1. 1Identical, since both keep server-side session state
  2. 2Slower to issue, since the server signs each token
  3. 3Easier — the server can delete the session
  4. 4Impossible, since a stateless JWT cannot be revoked

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle