Skip to main content

COOKIE_NAME

Constant COOKIE_NAME 

Source
pub const COOKIE_NAME: &str = "__Host-acme_admin_session";
Expand description

The session cookie’s name.

The __Host- prefix is free, browser-enforced hardening: it requires Secure, Path=/ and no Domain, which is exactly the spec chosen below. A future edit that drops Secure therefore breaks the cookie visibly instead of silently widening it.