BT San Technology

15 April 2026

Sessions and signing out: designing expiry, revocation and account recovery

2 min read · Websites and web apps

Illustration: a laptop listing signed-in devices, one checked and one revoked, and a hand plugging in a security key beside a phone
AI-generated illustration

Sessions, devices and re-authentication. Signing out of one device is different from revoking all devices. Account recovery needs safeguards that are consistent with those used at sign-in.

Steps to apply it

  1. Define which tasks require re-authentication
  2. Design the session lifetime and how sessions are revoked
  3. Test a password change, a reduction of permissions and an employee leaving the company
  4. Check shared-device use and requests sent while a session expires

Example deliverable

Deliverable: a table of session-revocation events and test cases

Benefits

Helps control continued use after account conditions change.

Limits and cautions

Expiring too often interrupts work, and sessions that cannot be revoked add risk.

Starting references

  • OWASP — Session Management
  • OWASP — Forgot Password Cheat Sheet

References

  1. OWASP — Session Management (accessed 2026-11-21)
  2. OWASP — Forgot Password Cheat Sheet (accessed 2026-11-21)

Add us on LINE

Scan with the LINE app on your phone

QR code to add LINE @Bankoos

LINE ID: @Bankoos

Open LINE on this computer