17

I would like to be logged into 3 different gmail accounts at once.

I thought that command/switch combination would accomplish this by opening new browser windows with separate incognito mode:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -incognito --new-window https://mail.google.com

Clicking on the shortcut will launch a new window, and it will be incognito, and it will be directed to gmail. I then log in, and then rerun the shortcut and log in with my next account

But, the 2nd window that launches is logged in as my 1st user (why is chrome sharing cookies accross incognito windows - scary!) If I change the log in inside session 2, I then lose the 1st session's log in!

I need the igcognito windows to each be in their own session. How can I acheive this?

Any ideas?

Thanks

(Note: I actually want to acheive this with an intranet site - not gmail, but I am using gmail to illustrate my point)

3
  • Oddly, I'm looking for how to do this too- AND I know I found another commandline swith that made it work... but I can't find it now for the life of me (maybe it was for IE or something...) – boomhauer Mar 31 '16 at 0:18
  • 1
    For my answer to this question, please see superuser.com/a/1195333/203848. – Carl Apr 4 '17 at 13:29
  • 1
    It is not duplicate. There is big difference between: 1) "do not share data between different incognito windows" (the question) 2) "new browser session while opening new tab" (other question) . Thank you @Carl – user1742529 Apr 18 '18 at 6:44
8

All incognito windows share a common set of cookies - this is by design.

Your best option is to use an extension such as MultiLogin.

3
  • 5
    A strange design indeed. So "incognito" doesn't isolate a tab from all other tabs, just from tabs running in regular mode. – Dmitry Grigoryev May 27 '15 at 17:56
  • @DmitryGrigoryev: Yes, just think of it as two independent sessions - one for all your normal windows/tabs and one for all your incognito windows/tabs. Presumably they didn't allow all incognito windows to be truly independent because of the added complexity. – Karan May 27 '15 at 17:58
  • 1
    re: MultiLogin: this was posted on the "by design" link page Sun, Dec 22, 2019, 7:25 PM MST: "FYI MUltiLogin on the store is spyware and you're fools for using it." – jbobbins Oct 27 '20 at 20:08
7

You can start several instances of Chrome with different profiles, each having an isolated set of cookies.

Also, google supports being logged into several accounts at once to some extent, but this does not really apply to your case.

Not the answer you're looking for? Browse other questions tagged or ask your own question.