Session Timeout Handling
Practice a session timeout flow: session expires after inactivity, warns before expiry, and allows extend or logout.
Session State
State:
Idle
Remaining:
Last activity:
Activity is tracked via mouse/keyboard/scroll/touch and synced across tabs using
localStorage.
Status:
Waiting
Event Log (for automation)
Assert that warning/expiry events fire at the right times.
[]
Security note: Session termination after inactivity and a visible logout control are key parts of secure session management.
Session Expiring Soon
Your session will expire in seconds due to inactivity.
Press
Esc to close and continue session (counts as activity).