Pergunta de entrevista da empresa Affirm

How would you code a session handler? (open-book)