Back to catalog
Feedback & State
Zombie Session
The UI allows interaction after the backend session has expired, leading to lost input.
3 principles3 checklist items2 simulation modes
What you will learn
Proactive Re-auth
Input Preservation
Session Visibility
Run the simulation to see the failure in action.
Interactive Lab
Toggle between Bad and Good modes.
Anti-pattern mode
Simulation Status: Idlev2.4.0
Why it fails
Security or resource policies often time out sessions after 30-60 minutes. If the UI doesn't visually reflect this state, the user might spend 10 minutes typing a complex prompt, only to have it vanish into the void upon hitting send.
Root cause
Lack of heartbeat/polling for session status. Client-side state drifting from server-side state.
How to fix it
Proactive Re-auth
Input Preservation
Session Visibility
Implementation checklist
- Visually dim or lock the UI when session expires
- Auto-save draft input to local storage
- Offer a 'Restore Session' button