A staff member finishes a work order on a shared computer, closes the tab and walks away. The next person opens the application. Should the previous account still be available?
Before accepting a business application, agree when its authenticated sessions end, what Sign out revokes and what private information may remain visible on the device. Ask for two kinds of evidence: server rejection of the ended session and browser checks of information already displayed. A redirected login screen alone does not establish both.
This planning guide covers authenticated browser sessions. The shared-workstation example is fictional, and every acceptance case below is Not run. It is not a security audit or a complete session-management design.
Define idle timeout, absolute timeout and sign-out separately
OWASP distinguishes an idle timeout, measured from session activity, from an absolute timeout that limits a session regardless of continuing activity. It recommends enforcing session timeout and expiration on the server, rather than trusting a browser-controlled timer.[1]
For the buyer, that creates three different questions:
- Idle timeout: how long may an inactive session remain usable?
- Absolute timeout: how long may the session continue even while someone is working?
- Explicit sign-out: which session credentials and open views does Sign out terminate?
Choose the actual durations with the developer according to the work, device exposure and data sensitivity. This guide does not prescribe a universal number. A reception workstation and a personally managed device may need different policies; that is a scoping decision, not a claim that a product automatically distinguishes them.
Define activity carefully. OWASP describes idle time in terms of the last HTTP request received for the session.[1] Ask whether background refreshes, polling or autosave requests count in the proposed implementation. A person can be absent while a page continues making requests. Write down which observed events affect the deadline, and require evidence from that implementation rather than assuming mouse inactivity and server inactivity are identical.
Do not treat closing a tab as signing out
OWASP warns that browser-close events cannot reliably enforce logout and recommends server-side idle and absolute timeouts plus an explicit logout action.[1] A requirement that says only “close the browser” leaves the important behavior unspecified.
For the fictional shared workstation, propose this rule: staff use a visible Sign out action before handing over the device. Server-enforced expiration remains a fallback, not proof that an unattended session ends immediately. The organization must separately agree device-locking and workstation practices; this article does not supply device-management controls.
Ask what happens when the tab is reopened, the browser restores its previous session or another tab was already open. Record the supported browser and configuration. Do not claim that any one of these actions necessarily preserves or destroys access before testing it.
Specify what logout revokes across tabs and devices
OWASP calls for server-side invalidation when a session expires or the user logs out, and a visible, accessible logout control.[1] Hiding the page, clearing a local display or deleting one browser value does not by itself demonstrate server-side invalidation.
Write the scope in ordinary language. Does Sign out end this browser's logical session, all sessions for the account, or an application session while a separate identity-provider session remains? These are questions for the actual authentication design. Do not promise organization-wide sign-out from an application button without supporting evidence.
OWASP also says identifiers belonging to the same logical authenticated session must be revoked together, including identifiers from rotations and their grace periods; logout must cover credentials issued by renewal operations already in progress.[1] Ask the developer how logout interacts with session renewal. The buying requirement is an outcome: once logout completes, no credential from the terminated logical session may authenticate or renew that session. The implementation needs technical review; the buyer should not have to design a token protocol.
In the shared-device example, a useful proposed scope is to terminate the current logical application session across its open tabs. Independently signed-in devices need an explicitly documented separate policy. Do not silently expand the button into a promise to sign out of every connected service.
Check cached content and unsaved work after session expiry
Ending server access and removing information already displayed are different checks. OWASP notes that private data can remain accessible through browser caches after a session ends and recommends appropriate HTTP response headers, including Cache-Control: no-store for sensitive session data.[1]
Ask the developer to inspect the actual response headers and the behavior of Back, restored tabs and other open views. A page that cannot fetch fresh records may still display old private text. Conversely, a blank screen says nothing about whether a previously issued session credential is still accepted. Both sides need evidence.
Do not describe a cache directive as a guarantee that every copy disappears. The proposed acceptance scope should name browser views, application-managed local drafts and any supported offline behavior. Downloaded files, screenshots and device compromise need separate treatment; application logout is not a remote eraser for them.
Decide how unsaved work is handled before a timeout. OWASP describes client-side warnings as a usability supplement, not a replacement for server enforcement.[1] If a warning offers to continue, explain what that action extends and whether an absolute limit still applies. Retaining a draft must stay within the agreed privacy scope, especially when the next person uses the same browser. Do not promise a saved draft unless persistence is implemented and verified.
Agree a session-end policy before testing
For the fictional work-order application, fill in this agreement with the developer and scope owner:
- Device context: a shared workstation, with supported browser and restoration settings recorded.
- Timing: chosen idle and absolute limits, their starting points and which requests count as activity. Values remain to be agreed.
- Explicit action: Sign out ends the current logical application session, including its open tabs and accepted renewal credentials.
- Other sessions: independently authenticated devices and identity-provider behavior are documented separately.
- Visible information: expired or signed-out views follow the agreed sensitive-content and local-draft cleanup policy.
- Recovery: the user receives an accurate explanation and a normal reauthentication path, without an expired form silently submitting afterward.
- Evidence: server access outcomes, browser observations and persisted work-order state are recorded separately.
These are proposed requirements, not claims about an existing CodeDrawn Digital application. The final policy may differ, but it should be explicit enough to demonstrate.
Use a shared-device session acceptance worksheet
Ask the developer to run and review these cases in an isolated environment with synthetic accounts and work orders. Record build, browser version, authentication configuration, server time controls, timeout values and relevant background requests. Every current result below is Not run.
| Case | Proposed acceptance question | Evidence to record | Current result |
|---|---|---|---|
| No qualifying activity beyond idle limit | Does the server reject access through the expired session? | Last qualifying activity, expiry decision and protected-resource response | Not run |
| Continued activity beyond absolute limit | Does the maximum lifetime still apply? | Session start, request timeline and reauthentication outcome | Not run |
| Staff member absent but background requests continue | Does observed behavior match the agreed activity definition? | Request types, timing and resulting deadline | Not run |
| Sign out with another tab open | After logout completes, can neither tab use the terminated logical session? | Logout completion and protected requests from both tabs | Not run |
| Renewal overlaps logout | After logout completes, can no credential from the terminated logical session authenticate or renew it? | Developer-controlled overlap trace and rejection evidence, without token values | Not run |
| Back navigation or browser restoration | Does sensitive content remain within the agreed display/cache policy? | Browser observations and response-header inspection | Not run |
| Unsaved form expires | Is the outcome clear, with no unapproved draft retention or silent later submission? | UI path, permitted draft handling and persisted work-order readback | Not run |
| Another device is independently signed in | Does its behavior match the documented logout scope? | Separate session references and access outcomes | Not run |
Use redacted correlation references in the report, not live cookies, credentials or session tokens. OWASP explicitly advises against logging raw session identifiers.[1] These cases are a starting worksheet, not an exhaustive security test suite. Real results are required before calling any implementation tested.
Put session endings in the project brief
A useful requirement is: “Demonstrate how this shared-device application ends idle, long-running and explicitly signed-out sessions, then show both server rejection and the agreed handling of information already on screen.”
Attach the session-end agreement rather than accepting a screenshot of a countdown. Keep password recovery separate: recovery concerns regaining access and post-reset effects, while this checklist concerns routine session endings. Application permissions define what an authenticated user may do, not how long a session remains usable.
Planning a web or application project? Include the device context, an example handover between staff and the session behavior you need in a CodeDrawn Digital project brief. The helper lets a visitor request an email draft; it does not confirm app opening, sending or receipt. Leave private records and credentials out of the brief.
Sources
[1] OWASP Session Management Cheat Sheet — https: