A renamed cookie and a logout button that did nothing
After the first review I renamed the session cookie to __Host-session. The prefix makes the browser accept the cookie only over HTTPS, with no domain attribute and with the path set to the root, which closes a few ways of planting a fake session. Login and the password change both started using the…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-13 14:11 · DEV Community — AI
A renamed cookie and a logout button that did nothing