Software Testing / Learning brief
Tom and the cloakroom ticket
In simple terms / 01
What this means in plain language
Lily is signed in without typing her password on every page. A cloakroom ticket shows how Tom checks the cookie that remembers her, and finds a visit that does not end when she signs out.
Complete lesson / 02
Understand the full idea, step by step
At a cloakroom you hand in a coat and get a ticket. The ticket carries only a reference number, but someone holding a copy may still claim your coat. The staff use it to find your coat.
Daily List, a to-do list app, hands your browser a ticket like that when you sign in. Tom, the tester, learns to check it.
PLAIN WORDS · 1 in this section
- cloakroom
- a room where coats and bags are left safely
Evidence & review / 03
Evidence & review
The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.
Cookie, session identifier and local storage as taught in this academy. The people, the app and the values are invented.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The claim that local storage is not sent with each request and the advice on lockout are general knowledge with no source in this lesson. Separate7November2026 review read the complete MDN (MDN is Mozilla's online web documentation) cookies/localStorage articles and selected complete Open Worldwide Application Security Project (OWASP) units named in appended locators. Identifier secrecy, scoped cookies, client/server expiry, private-mode storage and evidence-versus-cause limits are qualified. No live product session security certification.
Sources for this brief — 9 sources
- Market practice
Using HyperText Transfer Protocol (HTTP) cookies (Mozilla developer docs) ↗ — Mozilla (developer documentation) · After sign-in the server sets a cookie holding a session identifier and the browser sends it back with later requests; a cookie with no expiry is a session cookie; setting the expiry in the past removes a cookie; a new session cookie should be sent at sign-in to stop session fixation (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Session management cheat sheet (Open Worldwide Application Security Project) ↗ — Open Worldwide Application Security Project (OWASP) · The session identifier must be renewed after any change in privilege such as sign-in, and the old one destroyed, which prevents session fixation (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
Verification supplement, 6 November 2026: Actual introduction/session-ID properties opened: authenticated session identifier is itself a secret capable of impersonation; opaque does not mean secret-free.
- Market practice
Testing for cookies attributes (Open Worldwide Application Security Project Web Security Testing Guide) ↗ — Open Worldwide Application Security Project (OWASP) · Session cookies should carry the Secure and HttpOnly attributes, and a tester can check them in the browser's cookie view or with an intercepting proxy (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Window: localStorage property (Mozilla developer docs, Web APIs) ↗ — Mozilla (developer documentation) · Local storage keeps key and value pairs for a site, has no expiry time, survives closing the browser and stores only strings (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Insufficient session expiration (Open Worldwide Application Security Project Periodic Table of Vulnerabilities) ↗ — Open Worldwide Application Security Project (OWASP) · Insufficient session expiration: a session that stays valid too long, or after logout, lets someone reuse it (registry entry)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Archived wiki page. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
- Market practice
Using HyperText Transfer Protocol (HTTP) cookies (Mozilla developer docs) ↗ — Mozilla (developer documentation) · Complete substantive cookie article read7November2026 (live page modified17September2026): scoped sending, expiration/session restore, matching deletion, attributes. Browser lifetime differs from server session validity; not binding legal guidance.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Session management cheat sheet (Open Worldwide Application Security Project) ↗ — Open Worldwide Application Security Project (OWASP) · Complete Introduction, Session ID Content, Renew Session ID After Any Privilege Level Change, Session Expiration with all subsections and Limits of Logout on Browser Close, actually read7November2026. ID is secret; revoke session IDs server-side; distinguish cached display and continuing access.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
Verification supplement, 6 November 2026: Actual introduction/session-ID properties opened: authenticated session identifier is itself a secret capable of impersonation; opaque does not mean secret-free.
- Market practice
Window: localStorage property (Mozilla developer docs, Web APIs) ↗ — Mozilla (developer documentation) · Complete article read7November2026, modified12October2026: origin-bound strings, ordinary persistence, private session lifetime, policy exceptions; no guarantee of indefinite availability.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.