Intelligence lab / Failure atlas

Session isolation test

Use two fictional users and an isolated in-memory state fixture to demonstrate why session-bound storage matters. This does not access any real accounts.

Run the experiment How it works

Fixture 2026-11-26-v1 · PIP research · no live vendor measurements.

Interactive · browser-only

Run the experiment

Choose an example to compare two implementations, or change the inputs and run again.

Local only. Use non-identifying inputs, never customer data or credentials. Downloads stay on your device.

Choose an example or enter values

Try a scenario

Example result shown below. Interactive controls require JavaScript.

Illustrative example result · not measured vendor performance

Session-bound history

The active identity is B. Returned history must belong to that identity.

Faulty ruleFail
Repaired rulePass
Fixture modeLocal, synthetic

Faulty implementation

Fail
Returned owner
A
Returned history
Fictional A: enquiry about a buffet.
Matches active identity?
false

Repaired implementation

Pass
Returned owner
B
Returned history
Fictional B: no prior enquiry.
Matches active identity?
true

Scroll the result table sideways on smaller screens if needed.

Observable checkFaulty implementationRepaired implementation
Returned ownerAB
Returned historyFictional A: enquiry about a buffet.Fictional B: no prior enquiry.
Matches active identity?falsetrue

Interpretation and limitations

  • This fixture tests one state-selection invariant. Real applications also need authenticated identity, expiry, logout, tenant isolation and access-control tests.

Take the result with you

Download the current experiment report as JSON. The report includes inputs and limitations, not a certification.

Why this matters

Practical situation

A shared device changes from synthetic account A to B. If state is keyed to a browser alone, B may receive A's prior fictional context.

PIP illustration: Account switch; Browser state; Session-bound state. Conceptual fixture; test actual behaviour in the workbench.

Conceptual fixture; test actual behaviour in the workbench.

Reproducible method

Work through the test

Set the conditionsChoose whether a second account has signed in or the original account returns.
Run the comparisonCompare a browser-keyed state read with a session-keyed read.
Verify the resultVerify returned fixture history belongs to the active identity only.

Illustrative methodology; test real configurations only with authorisation.

Make this useful in practice

What to do next

Test logout, expiry and tenant separation with synthetic accounts; never use actual customer histories in a public test.

Evidence and boundaries

Sources and scope

  • PIP original deterministic fixture v1 · 2026-11-26

Examples and outcomes here are computed from explicit assumptions or user-supplied observations. Do not treat them as a certification, competitor measurement, real booking or guaranteed commercial result. No confidential records or third-party access are required.

PIP Intelligence

Find a resource

Choose a resource below.