Quick answer: A shared government application tablet must not let the next resident recover the previous resident’s protected form, documents or session through Back, Refresh, local state or saved files. Proper session invalidation, sensitive response caching, controlled file handling and a secure save-and-resume path work together; simply closing the browser tab is not reliable logout.
Quick navigation
- The next applicant opens the previous applicant’s form
- Quick answer: ending access has several separate layers
- Five places where the previous person’s information may remain
- First understand identity, authority and the assisted role
- Closing a tab is not reliable logout
- Treat browser caching as its own security boundary
- Form state is not the same as an authenticated session
- A worked fictional case at an assisted-service tablet
- Downloads, printouts and scans outlive the browser
- The clipboard and autofill can create smaller but revealing leaks
- Notifications and the resumed session are separate channels
- Session expiry is necessary, but accessibility needs a recovery design
- Do not use an excessively long session as the accessibility solution
- Browser Back, Refresh and crash recovery belong in testing
- Differentiate staff switching cases from citizen switching accounts
- Save-draft feedback should reassure without exposing details
- Audit trails should capture events, not duplicate private data
- Session clearing has limits that deserve honest language
- A concrete counter handoff checklist
- How to respond when residual data are discovered
- Measure safe handoffs and accessible recovery together
- The final standard: a safe next user and a recoverable rightful user
- Frequently asked questions
- Official sources and connected Gold Standards
The next applicant opens the previous applicant’s form
At an assisted government service counter, a staff member helps Resident A complete an online application on a shared tablet. The staff member closes the tab and passes the tablet to Resident B. B presses the browser’s Back button and sees A’s partly completed form, including an address and a personal eligibility answer. The staff member thought the session had ended; the device still held information.
A similar problem can occur when siblings share a phone, when an older resident borrows a caregiver’s device, or when a public computer is used for several assisted-service appointments. The next user need not be malicious for the disclosure to occur. The gold standard of public-sector assisted application shared-device session handoff is to end the previous user’s access, prevent the next user from seeing or resuming protected content, and preserve a safe, accessible continuation route for the legitimate applicant.
This is different from the earlier Shared Device Notification Preview Privacy Controls guide. That article addresses what an arriving message reveals before authentication. This one follows what remains after a person has used a service and hands the device to someone else.
Quick answer: ending access has several separate layers
Identify who is using the device and which account or delegated role authorises the transaction. Use the service’s approved session controls. At handoff, terminate the appropriate authenticated session, prevent replay of a previous user’s protected pages, handle temporary browser storage and files according to policy, clear visible form content, and ensure that a new user must establish their own authority. Test the behaviour with Back, Refresh, recent tabs and normal application resume paths.
Do not assume that merely closing a tab logs someone out. A cookie, server session, browser history entry, app state, downloaded PDF or saved draft may persist. Conversely, deleting all local browser data without a plan can destroy a legitimate unfinished application, break accessibility and cause confusion. Security and continuity must be designed together.
The exact technical choices depend on the platform, data sensitivity and approved government service requirements. The reader should understand the controls and questions to ask, not treat a generic blog as an implementation recipe for every official application.
Five places where the previous person’s information may remain
The most obvious residue is the visible screen: text fields, an open document or a notification. A second is application state held by the browser or app, including form fields, navigation history or local storage. A third is an authenticated server session that may remain valid even after the interface looks blank. A fourth is a file created by the process, such as a downloaded acknowledgement PDF. A fifth is an operating-system feature including screenshots, recent-file lists, autofill or clipboard history.
These are not all controlled by the same button. A web application’s Logout function may invalidate its server session without deleting a PDF saved to a device’s downloads folder. Clearing a local form may hide data but leave a valid session token. A “Done” screen may confirm form submission but say nothing about local previews.
A threat model should identify which storage and display layers actually contain sensitive information and which party owns each control. It should not promise absolute erasure from hardware when the service cannot guarantee it. The objective is risk-proportionate prevention of unauthorised access with honestly described limits.
First understand identity, authority and the assisted role
A person at a service counter may be acting for themselves or receiving authorised help. The helper’s presence does not automatically mean they own the application, and logging into a staff account should not grant access to every citizen’s private case. Define the applicant identity, staff or representative role, scope of permitted action and whether the device is controlled by the organisation or by the resident.
The handoff should remove permissions arising from the previous applicant context without accidentally disabling the staff member’s legitimate ability to start another authorised session. Design the software so staff can support multiple residents without crossing their case data. Use appropriate role and access separation rather than sharing a generic account with unrestricted history.
The connected Consent and Delegation and Disclosure Recipient Verification guides discuss the broader authority questions. Session handoff is one technical and operational boundary that must respect those decisions.
Closing a tab is not reliable logout
Many browsers restore tabs and session state after a crash or restart. A web application may keep a valid session cookie until the server’s expiry rule or an explicit authorised logout. The Back button may show content held in browser history or page memory, even if an interface navigated to a public homepage. An ordinary “X” does not necessarily terminate the authenticated server-side context.
A proper exit design should include an explicit completion and secure-exit pathway whose outcome is clear to the user. Under appropriate implementation, the service invalidates relevant session credentials, changes its authorisation state and prevents subsequent requests from retrieving protected records without fresh authentication. The UI should not say “You are signed out” merely because one component reset its display.
The OWASP Session Management Cheat Sheet distinguishes session management, termination and residual browser data. It provides technical principles; the actual government service must follow its own approved architecture and security controls.
Treat browser caching as its own security boundary
A browser can store previously retrieved responses to make navigation faster. This is beneficial for public pages but can be dangerous for personalised sensitive content on a shared device. An application can invalidate its session while an old protected response remains in some browser storage or history interface.
OWASP recommends appropriate HTTP caching controls for sensitive responses, including Cache-Control: no-store in relevant cases, and discusses clearing client-side state on logout. It also cautions that such directives are not absolute guarantees against compromised or nonconforming caches. The relevant guidance is in the session-management reference and Web Cache Security Cheat Sheet.
Do not assume a visible blank page proves response caches are safe. Verify the supported browsers, navigation paths and intermediary caches in the approved testing environment. The security outcome is that a later unauthorised user cannot retrieve prior protected content through supported service paths.
Form state is not the same as an authenticated session
An assisted form might contain text that has not yet been submitted. Some interfaces hold it in component memory, browser storage or a local draft. Others send it to a server-side draft associated with the applicant. These approaches have different persistence and recovery behaviour.
At handoff, any local state containing protected data should be cleared or isolated under the service’s approved design, while an authorised server-side draft may remain available to the original applicant after reauthentication. A person must not recover someone else’s draft simply by reopening the URL or choosing “Continue application” on a shared device.
The distinction is fundamental for accessibility. It is possible to protect an application from the next user without forcing the legitimate applicant to repeat a long form later. A secure continuation mechanism should bind drafts to verified identity and permissions, not to whichever person next holds the device.
A worked fictional case at an assisted-service tablet
At a fictional counter, Applicant A enters a contact address, relevant household information and a description of a service need on a shared tablet. A staff member helps submit the first part, but the application remains incomplete and is stored as an authorised draft. The staff member then presses a generic “Return to start” button. Applicant B arrives and sees A’s entered data after pressing Back.
The first fix would be to investigate which layer returned the data. Was it an authenticated server response, retained form memory, a history snapshot or a locally stored draft? Without that answer, adding another “Are you sure?” confirmation dialog may not prevent recurrence. The responsible team should use an approved safe test environment and appropriate security review.
An effective correction could establish a secure end-session flow that invalidates the applicant’s access context, clears or isolates the local protected state, prevents unauthorised page retrieval and keeps A’s valid unfinished work accessible later through a verified continuation route. This example describes principles, not a real government incident or a ready-to-deploy system design.
Downloads, printouts and scans outlive the browser
Assisted applications may produce receipts, acknowledgements, uploaded documents or scanned proofs. A PDF saved automatically to a shared downloads folder can remain visible after logout. A printer tray can hold another person’s completed form. A recent-files menu may reveal an applicant name even when the document itself is secured.
Map what files are generated and where they go. Prefer controlled document handling and verified delivery channels appropriate to the service. Where local downloads or printing are necessary, define staff responsibilities for retrieval, appropriate storage and disposal under the organisation’s policies. Do not treat changing the browser cache setting as sufficient to manage operating-system downloads.
The procedure should distinguish what is technically cleared by software from what requires operational control. A staff member who properly logs out may still need to remove an authorised printed document from a shared output tray. Good handoff covers the whole service journey rather than just the authentication window.
The clipboard and autofill can create smaller but revealing leaks
Copying an application reference, identity number or address to the clipboard can leave that text ready to paste into another form. Browser autofill may offer a previous person’s address or contact information. These features help normal users but can disclose protected information on a shared device if not properly governed.
A service should minimise unnecessary use of those features for sensitive values and review how approved browsers handle them. Some clipboard state is controlled by the operating system rather than the application. Do not assert that a website can guarantee the complete erasure of all clipboard history, screenshots or keyboard learning data on every platform.
Test the real handoff on the intended managed devices. Where a feature cannot be sufficiently controlled, use managed-device restrictions, organisational procedures or different workflows that reduce exposure. The expected outcome should be documented and realistic rather than a promise that one logout function wipes the device clean.
Notifications and the resumed session are separate channels
A former applicant’s push message, email alert or SMS may continue arriving on a shared phone after the web session is closed. A separate app might have enabled notification previews that reveal case details on the lock screen. A handoff procedure that secures the website but leaves an authorised or misdirected notification channel active is incomplete.
Review whether the device is the applicant’s own, a caregiver’s, a shared household device or an organisation-managed terminal. Each context changes what the service can control. Do not change or delete a person’s communication preference merely because one assisted session ended; instead, ensure that the correct recipient and destination are governed independently.
The earlier Notification Preview Privacy Controls guide addresses lock screens and shared notification surfaces. This article links that risk to the completion or transfer of the active application session without confusing the two underlying controls.
Session expiry is necessary, but accessibility needs a recovery design
Security may require an authenticated session to end after appropriate inactivity or a change of user. But a resident with a disability, limited digital familiarity or language needs may take longer to finish a complex government form. An abrupt timeout that destroys all input can make the service unusable even if it prevents a later person from accessing the screen.
The W3C WCAG 2.2 guidance on re-authenticating describes the importance of continuing an activity without loss of data after reauthentication; the success criterion is Level AAA, rather than a universal mandate that any government service can ignore its actual security requirements. The Singapore Digital Services High Impact controls discuss saving drafts for long transactions and appropriate treatment of time limits.
Design for both goals. Preserve authorised drafts securely, give suitable warnings or extensions where permitted, and require proper reauthentication before restoring protected material. Saving a draft server-side is different from leaving the previous applicant’s text visible to the next device user.
Do not use an excessively long session as the accessibility solution
One tempting response to repeated timeouts is to leave a session active all day. On a genuinely personal device, this may feel convenient. On a shared terminal, it creates a large window in which someone else could encounter the previous applicant’s information. Convenience alone does not establish safe access.
Choose session behaviour through the service’s threat model, sensitivity, expected tasks and approved standards. Where people need more time, provide explicit save-and-resume, appropriate timeout communication and authorised reauthentication rather than depending entirely on an indefinitely open form. The right design may differ by device and service context.
An accessible process can also offer assisted offline routes without asking a resident to weaken security. Singapore’s GovTech Digital Service Standards emphasise usability and accessibility alongside reliability. A successful design supports slower and assisted interactions without leaving protected state available to strangers.
Browser Back, Refresh and crash recovery belong in testing
A developer may test logout only by clicking a menu item and seeing the homepage. Real users press Back, open recent tabs, refresh an old URL, restore the browser after a crash and revisit a document link. A shared-device handoff test should include the supported paths that could expose earlier content, not only the happy path.
Use fictional or synthetic application data in controlled environments. After the authorised end-session action, confirm that protected requests require appropriate reauthentication and that previous personalised responses are not available through supported navigation or caches. Evaluate files and notification surfaces separately because they are not necessarily controlled by the web session.
Record browser, device operating system, application version, result and the type of residual data checked. When a test fails, preserve the evidence appropriately and fix the underlying cause rather than simply adding a visual transition screen. A successful test means the next unauthorised user cannot access protected data through the evaluated route.
Differentiate staff switching cases from citizen switching accounts
At an assistance counter, a caseworker may need to handle a sequence of applications in one shift. A secure workflow should let the worker retain an authorised staff role while closing the applicant-specific context before opening another. If the system treats the worker and resident as one account, switching cases can unintentionally carry information from the previous resident into the next.
Use proper separation between operator identity, applicant identity, selected case and granted scope. A new case should not inherit document references, contact details, autofill values or consent from the previous case. The system should verify that the worker is authorised for each transition, not merely that they still have a staff session.
That architecture differs from a household phone where one person logs out and another signs in. Both demand separation, but their threat models and session boundaries are not identical. A good article and an actual system should name which context they address rather than promising one generic “clear everything” button for all situations.
Save-draft feedback should reassure without exposing details
A user who spends an hour completing a complex form needs clear feedback about what was saved and how it can be resumed. An ambiguous “Done” screen may cause the user to think an application was submitted when only a draft was stored. Conversely, a message containing a full personal case summary on a shared terminal may become another disclosure surface.
The confirmation should distinguish submitted, draft saved, session ended and next step. Where appropriate, show an anonymised or minimal reference and direct the applicant to an authorised retrieval channel. Do not send sensitive summaries automatically to an unverified contact. Consider how the applicant will remember their progress without leaving the next person with a visible private document.
Plain-language accessibility is part of privacy protection. A resident who understands whether they are signed out and where their draft lives is less likely to leave a protected screen open or mistakenly assume that another person can safely continue the transaction.
Audit trails should capture events, not duplicate private data
The service needs evidence that a session began, an applicant context was selected, work was saved or submitted, access ended and any abnormal handoff was investigated. Logs should be sufficient for authorised accountability without copying full sensitive form answers into ordinary operational analytics. Keep applicant access, staff actions and technical errors distinguishable.
Do not log session secrets, raw credentials or entire protected documents simply to prove logout occurred. Security logs require appropriate access and retention controls themselves. A log of “logout requested” may not prove that server invalidation and client cleanup succeeded; those are separate states that can be checked through approved instrumentation.
When an incident occurs, preserve the relevant chronology and the versions of the service, device and browser involved. Avoid retroactively editing the original session record to present a successful cleanup that did not actually happen. Truthful event history is critical when investigating who might have seen data.
Session clearing has limits that deserve honest language
A web service can control its own authenticated state and many of its response and storage behaviours, but it may not control operating-system screenshots, externally downloaded files, another app’s notifications or photographs taken of a display. Security headers are powerful within their documented boundaries, not magic erasers.
The OWASP Session Management Cheat Sheet notes browser caching and mechanisms for clearing site data, including Clear-Site-Data where supported. Such cleanup can have side effects on other state and does not necessarily reach all storage or intermediaries. Implementations must be tested against the site’s architecture, supported browsers and service requirements.
Use accurate assurance statements. “The authenticated session is ended and the tested application no longer exposes protected content to the next user” is defensible when validated. “All data have been permanently erased from every device component” is not a claim most browser applications can establish.
A concrete counter handoff checklist
For a managed shared terminal, the staff workflow should make it clear when the citizen’s assisted case is complete, saved or paused; when applicant-specific authorisation ends; what visible content and local residues require clearing; how documents are handled; and how the terminal returns to a safe start state for the next person. The service must be designed to enforce its security controls rather than rely solely on memory.
Before accepting a new user, the interface should not expose the former user’s details through ordinary navigation or case search. The staff member should be able to distinguish a secure handoff from an incomplete one and know the escalation route if the device behaves unexpectedly. Privacy-sensitive problems deserve controlled incident assessment, not casual experimentation on real applications.
A good checklist is short because the system itself performs appropriately automated controls. A long list requiring operators to manually locate every hidden browser cache is not a sustainable defence. Use engineering measures, usable service design and operational practice together.
How to respond when residual data are discovered
If an unauthorised person appears able to see an earlier applicant’s information, the operator should follow the service’s authorised privacy and security incident procedures. Preserve sufficient facts to assess what was exposed without further spreading protected data. The right response may involve containing the affected device or session, securing future access, reviewing logs and determining whether other cases are at risk.
A later successful logout does not erase the possibility that somebody previously viewed the information. Likewise, a visible cached page does not automatically prove a malicious actor accessed the server. Separate observed facts, plausible exposure and confirmed outcomes. Do not promise the applicant that no disclosure occurred until the responsible team has established the basis for that statement.
Singapore public agencies must assess incidents under the applicable public-sector governance and service requirements, not an invented one-size-fits-all private-sector deadline. The goal is prompt, accurate escalation and prevention of recurrence with an honest record of what is known.
Measure safe handoffs and accessible recovery together
An operator dashboard could report that every session ended after fifteen minutes. That does not prove a next user cannot retrieve prior content, and it might conceal that legitimate applicants are frequently losing unsaved drafts. Evaluate two outcome families: unauthorised cross-user access prevention and successful authorised continuation.
Useful test results include whether old protected URLs remain inaccessible without authentication, whether prior form fields appear after handoff, whether sensitive downloads are handled and whether the original applicant can securely resume a saved draft. Measure failures in a way that distinguishes application defects from staff procedure gaps.
Consider representative devices and supported accessibility tools. A screen reader, an older browser and a managed counter tablet can exercise different paths. Improvements must preserve usability for residents who require more time or assistance. An insecurely persistent draft and a completely lost draft are different defects, and neither should be normalised as acceptable.
The final standard: a safe next user and a recoverable rightful user
A strong shared-device handoff protects Resident A after the terminal changes hands while allowing A to continue their own legitimate case through an authorised route. It distinguishes ending the session from clearing local data, handles documents and notifications according to their actual control boundaries, and gives staff and users a simple way to know the result.
Its success should be demonstrated with realistic, privacy-safe tests that try Back, Refresh, reopened files and legitimate reauthentication. Security claims should be scoped to what those tests establish. The service should also provide an accessible draft-and-resume path so protection is not purchased by repeatedly losing citizens’ work.
The Gold Standard is not a dramatic warning asking people to be careful. It is an engineered, understandable separation between users, backed by honest evidence and operational accountability. The next person should see a clean authorised start, while the previous person retains only the access and progress they are entitled to recover.
Frequently asked questions
Does closing a government service tab securely sign the user out?
Not necessarily. Server-side sessions, browser history, app state and downloaded files can persist. The service needs an authorised end-session design and verification.
Is a blank homepage proof no private content remains?
No. Protected data may remain in a valid server session, browser caches, local form state or files. Test the supported paths independently.
Should logout always destroy unfinished application data?
No. A secure server-side save-and-resume design can preserve an authorised applicant’s work while preventing another device user from accessing it.
Can Cache-Control: no-store guarantee complete erasure?
No. It is an important caching instruction for appropriate sensitive responses, not a guarantee across every device component or compromised cache.
Why test Back and Refresh after logout?
Because navigation and browser-restoration behaviour can reveal retained page state even when the normal sign-out screen looks correct.
How can a slow user avoid losing work when a session expires?
Use service-approved save-draft, clear timeout communication and proper reauthentication. W3C accessibility guidance addresses recovery without loss of data.
Are lock-screen notification previews the same as residual session data?
No. Notifications can arrive independently of the browser session and require separate destination and preview privacy controls.
What should staff do if the next resident can view the previous form?
Follow authorised containment, evidence preservation and privacy/security escalation rather than experimenting with real personal records.
Official sources and connected Gold Standards
The OWASP Session Management Cheat Sheet covers session termination and browser residual data; the OWASP Web Cache Security Cheat Sheet addresses sensitive response caching. The W3C WCAG re-authentication explanation covers continuing authorised work after session expiry. Singapore’s GovTech Digital Service Standards and High Impact Digital Services control profile explain accessibility, longer transactions and save-draft expectations. These are design and security references, not a substitute for a particular agency’s detailed policies or technical approval.
Related eduKate Gold Standard articles: Shared Device Notification Preview Privacy Controls, Reassigned Contact Number Privacy Recovery, Disclosure Recipient Verification, Consent and Delegation and Assisted Application Handoff. Each isolates a different point where privacy, authority or transaction continuity can fail.
Final principle: A completed assisted session must leave the next user without access to the previous user’s protected information, while the legitimate applicant can continue only through an appropriately authorised route. Secure handoff requires more than a closed tab and less than an impossible promise of universal erasure.
