A form's redirect now sets a short-lived cookie (__Host-talira_flash, HttpOnly, a minute) naming one message from a fixed list, and the next page on the app's or admin's host shows it and clears it in the same response, which is never cacheable. The site's pages, which Cloudflare caches for everyone, never read or clear it, and a redirect aimed at one of them can't set it. It's a small module on the session cookie helpers we already had (server/src/flash.rs).

We found the two crates on crates.io after the search came back empty. axum-messages keeps messages in a session from tower-sessions, which would mean a second session system beside our own accounts' sessions, and a session for every visitor who sees a notice. axum-flash keeps them in a signed cookie, close to what we built, but its last release (November 2023) is for axum 0.7 and we're on 0.8. Neither knows which of our hosts' pages are cached. The cookie isn't signed: only our app's host can set a __Host- cookie for itself, and it holds a key from our list, never text, so a forged one can only show one of our own messages to whoever forged it.