Yo, Linux users! Hi!

On plan 9, there's a system-wide HTTP client. As such, if I sign in to a site in one web browser, I'm signed in on *all* of them, because the browsers aren't responsible for managing cookies. I can also see all cookies cross-browser in $home/lib/webcookies.

I'm not asking how to do that under Linux.

I'm just amazed at how *obvious* this feels in retrospect.

@pixelherodev Can you *avoid* that behaviour? With something like "incognito" mode? I log into (for example) multiple AWS accounts all the time. If my browser windows all shared the same cookies it would not be possible.

If I need to, easily, yeah.

% webcookies -f /tmp/session && webfs && $BROWSER

Follow

@pixelherodev that's a really fascinating design choice! 😮 an interesting thought I had is that this is kind of usage is like a logging into a different user. Does plan 9 support multiple users? if so maybe your use case could be resolved by logging into a different user @Kauer 🤔

Yes, plan9 supports multiple users.

That said, as I mentioned previously, a better solution to have multiple sessions is to run `webcookies -f $home/lib/cookies2` or some such. You can actually have arbitrary sessions, but each one will be shared across browsers.

If you prefer incognito, you can also sandbox a browser and use a ramfs for its cookies, which will be gone the instant the window is closed.

Sign in to participate in the conversation
Mastodon

A newer server operated by the Mastodon gGmbH non-profit