Log-in and session testing
A sign-in page is a front door. Test who gets in, how many guesses are allowed, how long a visit lasts, and that sign-out really ends it.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a hotel key card. A key card should open your door. It should stop working at checkout. It should not open the neighbour's door. It should not keep working if you leave it on the desk for a week.
Daily List is a to-do list app. Tom, the tester, signs out and presses the Back button. He wants to know whether his lists are still visible.
A session is the period during which the software remembers a signed-in user. A is the time after which an idle user is signed out. A is the set of rules for how strong a password must be and how it may be used again.
The picture has a limit. A hotel checks the card at one door. A website checks the session on every page and every request.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Checking who gets in, how long the visit lasts, and that sign-out truly ends it.
- Getting in
- During the visit
- Getting out
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| A key card that opens your door | A session |
| A card that stops at checkout | Sign-out ending the session |
| A card that expires if left unused | A session timeout |
| The rules for a room code | A password policy |
WHERE THIS PICTURE STOPS
- A hotel checks the card at one door. A website checks the session on every request.
- A card is a physical thing you can hand back. A session note can be copied.
- A hotel has staff to notice odd behaviour. A site must do it by rules.
HOOK
In, during, out.
REMEMBER IT THIS WAY
A story beat: one picture-line that carries the order or the cause.
After sign-out, Tom tries an old session against the server. The old session must no longer grant access.
| In the trick | What it stands for |
|---|---|
| Old session | the session identifier from before sign-out |
| Server refuses | protected requests no longer succeed with that session |
A browser may show a cached page after Back, but that display alone does not show whether a protected server request still works.
TELL A FRIEND
A key card should open your door, stop at checkout and not open the neighbour's. A session should work the same way.
OFTEN MIXED UP WITH Security testing ideas and the OWASP Top 10. The security lesson maps the places someone could get in. This lesson tests one of the most important doors, the sign-in page, and the visit that follows.
PRACTISE AND KEEP
Sources for this topic — 8 sources
- Market practice
Insufficient session expiration (Open Worldwide Application Security Project Periodic Table of Vulnerabilities) ↗ — Open Worldwide Application Security Project (OWASP) · Archived wiki entry: insufficient session expiration means no inactivity or absolute timeout, a timeout that is too long, or a logout that does not end the session (search excerpt, page not opened)
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.
- Market practiceSP 800-63B-4, final July 2025
NIST SP 800-63B-4Digital Identity Guidelines: Authentication and Authenticator Management ↗ — National Institute of Standards and Technology (NIST) · Digital identity guidelines (registry entry): guidance on passwords and on limiting repeated guesses; a secondary excerpt said rate limiting is favoured over harsh lockout (search excerpt, primary page not reopened)Final primary authentication chapter operative sections read on 6 November 2026. US federal digital-identity guidance; no universal bank-payment obligation inferred. Voice comparison is prohibited in this standard; face PAD and non-biometric alternative requirements are scoped accordingly.
- Market practice
Open Worldwide Application Security Project cheat sheet series: input validation ↗ — Open Worldwide Application Security Project (OWASP) · Input validation cheat sheet (registry entry): check input on the server and prefer allow-lists
Search excerpt, page not opened: returned by WebSearch on 2026-10-18. The excerpts did not use the phrase as early as possible in the data flow, so this site does not quote it. It is guidance for software in general, not for payments.
V34 review, 6 November 2026: Read complete official repository sheet. Syntax, semantic business rules, server checks and safe handling of legitimate Unicode/punctuation have distinct roles.
- Market practice
ISTQB Certified Tester Foundation Level Syllabus v4.0.1 ↗ — International Software Testing Qualifications Board · Syllabus v4.0.1 on test conditions and negative testing (confirmed against the syllabus, read in full text from a mirror copy of the publisher PDF, v4.0.1, 15 September 2024)
v4.0.1 is dated 15 September 2024 and is a list of corrections to v4.0 (21 April 2023) that reworded six learning objectives — not a cosmetic reissue. 78 pages.
Two traps this entry exists to stop. v4.0.2 is the German edition (1 March 2025, 94 pages), so sorting by version number reaches the wrong document. And the widely-repeated per-chapter question allocation "8 / 5 / 4 / 11 / 9 / 3" is wrong: it is 8 / 6 / 4 / 11 / 9 / 2, derived from three official sample-exam answer keys and confirmed against the Exam Structure Tables.
The single most consequential detail for a question bank: white-box coverage — statement and branch — is K2 "Explain", not K3 "Apply" (FL-4.3.1, FL-4.3.2, FL-4.3.3), and MC/DC, path and condition coverage are declared out of scope in §4.3. A question asking a candidate to compute branch coverage is testing something this syllabus does not.
Read through a mirror, because the publisher's own domain could not be fetched (a reachability gap, not a statement about the publisher). A 403 there is a policy refusal and says nothing about whether the document exists or is reachable elsewhere.
Anyone on an unrestricted network should open the canonical URL above and confirm the section and page numbers cited against it. Every claim drawn from this entry is written so that it can be checked against a numbered page.
Read from two independent PDF-to-markdown conversions mirrored on raw.githubusercontent.com. They are treated as faithful because they were produced by unrelated parties with different tooling, agree on the full 64-item objective set including wording, and reproduce the same internal inconsistency present in the source PDF. Chapter 1 reads "testware that supports" where Appendix B reads "that support". A conversion artefact does not replicate across two toolchains.
The licence permits attributed non-commercial extracts and use as the basis for articles. Whether a site that sells a pass may rely on that is an owner's decision, not this entry's.
7 November 2026 review: actual publisher PDF 4.0.1, 15 September 2024, 78 pages, front matter/copyright and relevant numbered operative sections 0.5–0.10 and chapters 1–6 compared with CTFLpractice lessons. Earlier mirror/search descriptions are historical access records. TheK2 white-box objectives require explanation; the source does not justify a categorical ban on small numeric illustrations that support explanation. Later Exam Rules 1.2§4.1.4 usesK2 for keyword definitions, while syllabus§0.5 usesK1; keep dated scopes distinct. No copied questions or figure assets.
- Market practice
Authentication - OWASP Cheat Sheet Series ↗ — OWASP · Generic login error messages; lockout can be used to lock other users out (search excerpt, page not opened)
Relevant public sections reviewed 6 November 2026 for V11 BA agile/product. See applicability for exact version, scope and access limitations.
- Market practice
Understanding Success Criterion (SC) 3.3.8: Accessible Authentication (Minimum) ↗ — World Wide Web Consortium (W3C) · Informative explanation of WCAG 2.2 SC 3.3.8 (AA): assistance or an allowed alternative for cognitive tests, support for password managers and paste, and compliance across all authentication steps. Split code fields must support whole-code paste without transcription. (primary page opened and read, 2026-10-21)
Primary page opened and read on 2026-10-21. Scope is the claim described here; this does not upgrade earlier citations to other pages. Examples in Daily List are synthetic teaching examples.
Verification supplement, 6 November 2026: Actual WCAG2.2 Understanding SC3.3.8 opened: audio transcription CAPTCHA does not meet Alternative exception. Informative guidance, not itself the normative Recommendation.
8 November2026 bounded primary update: WCAG2.2 Understanding3.3.8 informativecriterion/intent/cognitive/pasteexamples read8November2026. Audio transcription not Alternative; whole-codepaste/passwordmanagers; existinguserauthentication scope, not fullWCAGaudit.
- Market practiceSP 800-63B-4, final July 2025
NIST SP 800-63B-4Digital Identity Guidelines: Authentication and Authenticator Management ↗ — National Institute of Standards and Technology (NIST) · Opened primary source, 6 November 2026. NIST SP 800-63B-4, final 31 July 2025: Opened scope, §3.1.1.2 passwords and §5.3 session monitoring. Federal assurance guidance, not universal website law. Minimum 15 single-factor or 8 when part of MFA; creation differs from login.Final primary authentication chapter operative sections read on 6 November 2026. US federal digital-identity guidance; no universal bank-payment obligation inferred. Voice comparison is prohibited in this standard; face PAD and non-biometric alternative requirements are scoped accordingly.
- Market practice
Cross site request forgery prevention cheat sheet (Open Worldwide Application Security Project) ↗ — Open Worldwide Application Security Project (OWASP) · Opened primary source, 6 November 2026. OWASP CSRF and Session Management Cheat Sheets, current guidance: Opened CSRF introductory defense selection; Session introduction, accepted token channels and TLS/Secure/HttpOnly/SameSite cookie passages. Architecture matters; do not claim all subsections fully read.
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.
V34 review, 6 November 2026: Read token/session binding, signed double-submit, Fetch Metadata/fallback, custom-header/CORS and origin/SameSite sections. Missing a token alone does not show all configured defences absent.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.