# How does SessionBox work? The extension model, explained

> SessionBox keeps a cookie jar per session inside your own browser. Logins stay apart; the GPU, fonts and canvas a page reads are the same in all of them.

Source: https://mosaicbrowser.com/blog/extension-based-isolation

## Anti-detect inside your own browser: the extension model

SessionBox keeps a cookie jar per session inside your own browser. Logins stay apart; the GPU, fonts and canvas a page reads are the same in all of them.

![Extension versus Own engine, each name in its own tile: Separate cookies in one browser, or separate browsers](https://mosaicbrowser.com/covers/extension-based-isolation.webp)

SessionBox works as an extension inside the browser you already use. It gives each session its own cookies and site storage, so two tabs can be signed in to two accounts on one site at the same time, and it does that without installing a second browser. What it does not separate is the browser itself. Every session runs on the same engine, on the same computer, and a page in any of them reads the same fingerprint.

## How does SessionBox work? One cookie jar per session

A website knows you are signed in because your browser sends a cookie with every request. Two accounts on one site need two sets of cookies, and a normal browser keeps one set per site. A session extension's job is to keep several sets and make sure each tab only ever sends its own.

An extension has the tools for that. It can read and write cookies, watch requests as they leave, and keep its own store of which tab belongs to which session. The colour-coded tab is the visible part: it tells you which set this tab is using. Firefox does something similar natively with Multi-Account Containers, where each container is a separate cookie jar inside one Firefox, and Chrome's own profiles do it by giving each profile a separate directory.

For logins, that is the whole requirement. The site gets the right cookie, sees the right account, and the other tab's session never reaches it.

Mosaic is a desktop app

Email yourself the link and open it on your computer.

How it works: Bulk actions

## What every session still shares

A page can learn a great deal about the machine without touching a cookie. It can ask the GPU for its renderer string, draw text on a canvas and hash the pixels, measure which fonts are installed, read the screen size, the CPU thread count, the timezone and the language list. None of that lives in a cookie jar, so none of it changes when the extension switches sets. Two sessions in one browser are two cookie jars on one computer, and the computer is what the fingerprint describes.

Some session tools add fingerprint options on top. Whatever an extension changes, it changes from outside the engine: in JavaScript the extension puts into the page, or in request headers it rewrites on the way out. That leaves the engine's own answer in place underneath. A fresh iframe, a web worker or a second API that reads the same value can return the original beside the edit, and the pair is a stronger signal than either value alone, because no real computer reports two GPUs depending on how you ask ([what a fresh iframe gets back](https://mosaicbrowser.com/blog/canvas-blocker-extensions)). The extension itself is also one more thing every session has in common.

## Where the extension model is enough

Plenty of separation problems are only about logins, and for those an extension or the browser's own profiles are the cheapest answer. Two of your own accounts on a site that allows more than one. A client's ad dashboard open beside your own, through the access the platform gives agencies. A QA check of what a page shows a signed-out visitor next to a signed-in one. In each case the site has no rule that one computer means one person, so a shared fingerprint costs nothing.

The question to ask is whether the site you are working with treats the device as part of who you are. If it does not, keep it simple.

## Where it is not

Sites that link accounts read the device as well as the cookie. Marketplaces, payment providers and ad platforms run fraud checks that compare fingerprints across sign-ins, and two accounts on one fingerprint read as one person with two accounts, whichever cookie jar each came from. Where a platform does let one business run several accounts, its approval is what makes that legitimate, and a separate browser per account only keeps one account's sessions and history out of another's. The eight habits that keep accounts apart, from one profile per account to a checked proxy before every launch, are in [how to manage multiple accounts without getting linked](https://mosaicbrowser.com/guides/how-to-manage-multiple-accounts-without-getting-linked). None of this changes what a platform allows: if its terms say one account per person, that is the rule, whatever the tooling.

That is the job of an anti-detect browser, which runs a separate browser per account rather than separate cookies inside one ([what one is and how it differs](https://mosaicbrowser.com/guides/what-is-an-anti-detect-browser)).

## How Mosaic does it

Mosaic runs each profile as its own browser, with its own directory, its own cookie jar, its own proxy exit and its own fingerprint, drawn from a real device record. The values are changed in C++ inside Tesseract Chrome, Mosaic's own Chromium, so the page, every frame and every worker get the same answer. We do not spoof fingerprints in JavaScript on our own engine, because two edits of one value, one in the engine and one in a script, combine into something neither side predicted, which is exactly what a consistency scanner looks for. The reasoning, with the reads that catch a script-level edit, is in [why we change fingerprints in C++](https://mosaicbrowser.com/blog/cpp-not-javascript).

## Questions

### How does SessionBox work?

SessionBox is an extension that runs inside the browser you already use. It keeps a separate set of cookies and site storage for each session, so two tabs can be signed in to two accounts on the same site at the same time.

### Does a session extension change my browser fingerprint?

Keeping cookies apart does not touch the fingerprint. Every session runs in the same browser on the same computer, so the GPU, fonts, screen, canvas output and timezone a page reads are the same in all of them unless something else changes them.

### Can an extension spoof a fingerprint?

It can change some values from JavaScript or rewrite some request headers. It cannot change what the browser's own C++ reports, so an iframe, a worker or a second way of reading the same value can still return the original.

### When is a session extension enough?

When the sites involved only need your logins kept apart: two of your own accounts on a site that allows them, a client's dashboard beside your own, checking what a page shows a signed-out visitor.

## Related

[Why we change fingerprints in C++, not JavaScript](https://mosaicbrowser.com/blog/cpp-not-javascript): A JavaScript spoof is one realm deep. An iframe read the real source of 33 of our patched functions; the same values changed in C++ agree everywhere.

[Why canvas blocker extensions can make you easier to spot](https://mosaicbrowser.com/blog/canvas-blocker-extensions): A canvas blocker extension hides your canvas fingerprint by rewriting methods in page JavaScript, and a fresh iframe reads the rewrite: 33 leaked on one probe.

[What is an anti-detect browser?](https://mosaicbrowser.com/guides/what-is-an-anti-detect-browser): An anti-detect browser gives each profile its own fingerprint, proxy and cookies, so sites see separate visitors. What it changes, how, and its limits.

[How to manage multiple accounts without getting them linked](https://mosaicbrowser.com/guides/how-to-manage-multiple-accounts-without-getting-linked): Accounts get linked by shared cookies, IPs, fingerprints and habits. Give each its own profile, exit and history, then test it before you trust it.









## Mosaic, on your own computer

The browser this blog is about: its own Chromium, fingerprints from real machines and a proxy exit per profile. Free holds 3 profiles. Pro is $49 a month for any number.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
