[{"data":1,"prerenderedAt":49},["ShallowReactive",2],{"pricing":3,"blog:en:why-second-login-signs-you-out":24},{"source":4,"plans":5,"promo":16},"creem",{"pro-monthly":6,"pro-yearly":10,"pro-lifetime":13},{"amount":7,"currency":8,"interval":9},6,"USD","month",{"amount":11,"currency":8,"interval":12},48,"year",{"amount":14,"currency":8,"interval":15},129,"once",{"code":17,"type":18,"value":19,"currency":8,"endsAt":20,"shownOn":21,"appliesTo":23},"LAUNCH","fixed",30,"2026-12-16T07:59:59.999Z",[22],"pro-lifetime",[22],{"html":25,"toc":26,"length":48},"\u003Cp>You sign in to a second account, switch back to the first tab, and you're suddenly the second person there too. Or the first tab asks you to log in again. Nothing is broken. The site did exactly what browsers are designed to let it do, and once you see why, the ways around it (and their trade-offs) make a lot more sense.\u003C\u002Fp>\n\u003Ch2 id=\"a-login-lives-in-the-browser-not-in-the-tab\">A login lives in the browser, not in the tab\u003C\u002Fh2>\n\u003Cp>When you type your password, the site checks it and creates a session on its server. It then hands your browser a small token, usually in a cookie, along the lines of \u003Ccode>session=8f3a…\u003C\u002Fcode>. From then on the browser attaches that cookie to every request it sends to that site. That cookie is the whole reason you stay signed in.\u003C\u002Fp>\n\u003Cp>The important detail is \u003Cem>where\u003C\u002Fem> the cookie is kept. Cookies belong to the site's domain, and they're stored once per browser profile. Every tab and every window in that profile reads from the same cookie jar. A tab has no cookies of its own. So when you sign in as a second person, the site sets the same cookie again with a new value, and every tab that talks to that site is now the second person.\u003C\u002Fp>\n\u003Cp>Cookies aren't the only thing shared. Modern sites also keep state in local storage, IndexedDB, service workers and the cache, and all of those are also stored per site, per profile. Even if you could somehow keep two cookies, the rest of the site's data would still collide.\u003C\u002Fp>\n\u003Ch2 id=\"why-google-can-do-it-and-most-sites-can-t\">Why Google can do it and most sites can't\u003C\u002Fh2>\n\u003Cp>Gmail lets you add a second account and keeps both signed in. That's because Google built it into its own sites: it keeps several sessions in one set of cookies and puts an account number in the URL (the \u003Ccode>\u002Fu\u002F0\u002F\u003C\u002Fcode> and \u003Ccode>\u002Fu\u002F1\u002F\u003C\u002Fcode> you see in Gmail addresses). It's a feature of Google's sites, not of the browser.\u003C\u002Fp>\n\u003Cp>That's also why it only goes so far. A shop dashboard, a social network or an internal company tool usually has no switcher at all. And even with Google, links that arrive without the account number (from a chat message or a document, say) tend to open in whichever account is the default, which is how people end up commenting on a work document as their personal self.\u003C\u002Fp>\n\u003Ch2 id=\"the-general-fix-a-second-cookie-jar\">The general fix: a second cookie jar\u003C\u002Fh2>\n\u003Cp>If one profile means one cookie jar, then staying signed in to two accounts means getting a second, fully separate jar. Every method you'll find does this in some form:\u003C\u002Fp>\n\u003Cul>\u003Cli>\u003Cstrong>An incognito or private window.\u003C\u002Fstrong> One extra, temporary jar. In Chrome, all incognito windows share that one jar, so it's good for exactly one extra account, and it's emptied when you close the last incognito window.\u003C\u002Fli>\u003Cli>\u003Cstrong>A second browser profile\u003C\u002Fstrong> (Chrome, Edge). A completely separate browser state with its own window, bookmarks, extensions and history. Very solid isolation, at the cost of juggling windows.\u003C\u002Fli>\u003Cli>\u003Cstrong>Containers\u003C\u002Fstrong> (Firefox, and Brave since 1.92). Separate cookies and site storage per container, inside the same window, with a colored label on each tab.\u003C\u002Fli>\u003Cli>\u003Cstrong>A second browser.\u003C\u002Fstrong> Chrome for one account, Firefox for the other. Works, but now you have two sets of everything.\u003C\u002Fli>\u003C\u002Ful>\n\u003Cp>We compare these properly, including when each one is the right choice, in \u003Ca href=\"\u002Fblog\u002Fbrowser-profiles-vs-containers-vs-incognito\">profiles vs. containers vs. incognito\u003C\u002Fa>. The short version: they all work, and the differences are about how much of your day you spend managing them.\u003C\u002Fp>\n\u003Ch2 id=\"how-selves-keeps-two-logins-apart\">How Selves keeps two logins apart\u003C\u002Fh2>\n\u003Cp>Selves is built around this problem, so it's worth explaining what's underneath.\u003C\u002Fp>\n\u003Cfigure>\u003Cimg src=\"\u002Fblog\u002Fen\u002Faccounts-side-by-side.webp\" alt=\"Three logins to the same store in one window: the workspace's own and two accounts\" width=\"1600\" height=\"1059\" loading=\"lazy\" decoding=\"async\">\u003Cfigcaption>Three logins to the same store in one window: the workspace's own and two accounts. Each tab stays signed in to its own store. (A demo store we use for screenshots.)\u003C\u002Ffigcaption>\u003C\u002Ffigure>\n\u003Cp>Every separate sign-in in Selves (each workspace's default sign-in, and each account you add inside a workspace) is its own Chromium profile, stored in its own folder on your computer. That means its own cookies, local storage, IndexedDB, cache, service workers and site permissions. A tab simply belongs to one of those sign-ins: the account group it sits in, or otherwise its workspace.\u003C\u002Fp>\n\u003Cp>We considered lighter approaches first. Cookie-switching extensions swap cookies in and out of a single jar, but that can't work for two tabs that are open on the same site at the same moment, and it ignores everything a site keeps outside cookies. Chromium already has an isolation boundary that is tested by every Chrome user who has more than one profile, so we use that rather than inventing our own. The cost is that each sign-in has its own cache on disk; the benefit is that nothing a site stores for one account is visible to the tabs of another.\u003C\u002Fp>\n\u003Cp>A few consequences follow from that design, and they're useful to know:\u003C\u002Fp>\n\u003Cul>\u003Cli>\u003Cstrong>You stay signed in after a restart.\u003C\u002Fstrong> We keep session cookies when you quit, so accounts that would normally sign you out at the end of a session don't.\u003C\u002Fli>\u003Cli>\u003Cstrong>&quot;Sign in with…&quot; pop-ups land in the right account.\u003C\u002Fstrong> A pop-up opens inside the same sign-in as the tab that opened it, and Selves places it next to that tab.\u003C\u002Fli>\u003Cli>\u003Cstrong>Moving a tab to another account reloads it.\u003C\u002Fstrong> Cookies can't travel with a page, so the page reopens under the new sign-in. Anything you'd typed but not submitted is lost.\u003C\u002Fli>\u003C\u002Ful>\n\u003Ch2 id=\"setting-it-up\">Setting it up\u003C\u002Fh2>\n\u003Col>\u003Cli>\u003Ca href=\"\u002Fdownload\">Download Selves\u003C\u002Fa> and create your first workspace. During setup you can tick &quot;I want to use multiple accounts on the same site&quot; to create an account right away.\u003C\u002Fli>\u003Cli>Sign in to the site as usual. This is your workspace's default sign-in.\u003C\u002Fli>\u003Cli>Right-click the tab and choose \u003Cstrong>Open with another account → New account…\u003C\u002Fstrong>. Give the account a name you'll recognize, such as &quot;Client A&quot; or &quot;Second shop&quot;.\u003C\u002Fli>\u003Cli>The page opens in the new account. Sign in with the other login.\u003C\u002Fli>\u003C\u002Fol>\n\u003Cfigure>\u003Cimg src=\"\u002Fblog\u002Fen\u002Fadd-account.webp\" alt=\"Adding an account takes a name and a color\" width=\"1600\" height=\"1059\" loading=\"lazy\" decoding=\"async\">\u003Cfigcaption>Adding an account takes a name and a color. Its tabs get their own cookies and storage.\u003C\u002Ffigcaption>\u003C\u002Ffigure>\n\u003Cp>Both tabs now stay signed in side by side. The account shows up in the sidebar as a group with a round avatar, so you can always see which tab is which person. While you're in that account, \u003Ckbd>⌘T\u003C\u002Fkbd> (or \u003Ckbd>Ctrl+T\u003C\u002Fkbd> on Windows and Linux) opens new tabs in the same account, and you can right-click any link and pick \u003Cstrong>Open link with another account\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Ch2 id=\"what-this-doesn-t-do\">What this doesn't do\u003C\u002Fh2>\n\u003Cp>Separate sign-ins solve the cookie problem and nothing else. It's worth being clear about the edges:\u003C\u002Fp>\n\u003Cul>\u003Cli>\u003Cstrong>The site still sees one computer.\u003C\u002Fstrong> Your accounts share your IP address and your device. Selves doesn't change your user agent or disguise your browser, by design. If a platform's rules limit how many accounts you may have, a browser won't change that. We go into this in \u003Ca href=\"\u002Fblog\u002Fmanage-multiple-seller-accounts\">managing several seller accounts\u003C\u002Fa>.\u003C\u002Fli>\u003Cli>\u003Cstrong>Some sign-ins can be refused.\u003C\u002Fstrong> Google, in particular, sometimes blocks sign-in from browsers built on embedded Chromium as part of its own risk checks. That decision is on Google's side, and we can't override it.\u003C\u002Fli>\u003Cli>\u003Cstrong>Each sign-in starts empty.\u003C\u002Fstrong> That's the point, but it means signing in to your password manager extension, and to every site, once per account.\u003C\u002Fli>\u003Cli>\u003Cstrong>The free plan includes three separate sign-ins\u003C\u002Fstrong> (workspaces and accounts together). Plain tab groups don't count.\u003C\u002Fli>\u003C\u002Ful>\n\u003Ch2 id=\"do-you-need-any-of-this\">Do you need any of this?\u003C\u002Fh2>\n\u003Cp>If you only check a second account once a month, an incognito window is fine. If both of your accounts are Google accounts and you mostly live in Gmail, Google's own switcher may be all you need. Separate sign-ins pay off when you switch every day, need more than two accounts, or use sites that have no switcher at all. For a side-by-side look at every method, start with our guide to \u003Ca href=\"\u002Fmultiple-accounts\">using multiple accounts on the same website\u003C\u002Fa>.\u003C\u002Fp>",[27,30,33,36,39,42,45],{"id":28,"text":29},"a-login-lives-in-the-browser-not-in-the-tab","A login lives in the browser, not in the tab",{"id":31,"text":32},"why-google-can-do-it-and-most-sites-can-t","Why Google can do it and most sites can't",{"id":34,"text":35},"the-general-fix-a-second-cookie-jar","The general fix: a second cookie jar",{"id":37,"text":38},"how-selves-keeps-two-logins-apart","How Selves keeps two logins apart",{"id":40,"text":41},"setting-it-up","Setting it up",{"id":43,"text":44},"what-this-doesn-t-do","What this doesn't do",{"id":46,"text":47},"do-you-need-any-of-this","Do you need any of this?",1366,1795250114458]