# 8.15 Keep the work when a session expires

> Chapter 8, States. Section: Lists, permissions, and sessions. Guide: https://www.designguide.dev/md/08-states.md#keep-the-work-when-a-session-expires

Default

**Rule:** When a session expires, keep the person's input, say what happened, and ask for sign-in on the same screen.

**Why:** Losing typed work is the cost people refuse to pay.

- Restore the screen after sign-in.
- Do not clear fields while the session is out.
- Say that the session ended, not that an error occurred.

**Picture:** Figure: The note stays on screen. One button restores the session.
