This plugin manipulates cookie handling in firefox. When a request is sent, the url is checked against a list of regexes, and if it matches, the corresponding suffix is added to the domain in the url and cookies are added to the request based on this modified url. When a response is recieved, the url of is checked against the same list of regexes, and if it matches, the cookies are added with a domain suffix.

Download link/changelog

The latest version 1.0.5.1, is available by clicking here.

How to configure

The configuration dialog is under Tools/Add-ons. And it's somewhat difficult to use. What the buttons do first...

What a rule means / fields in the edit screen:

Example

Assumptions:

With normal cookie handling, and this setup, if someone logs into the alpha login system, they are logged out of the production system; but they can be logged into either alpha or production (or neither) and the employee system. With MultiCookie, they can be logged into all three simultaneously, in a single browser instance. Here's how to do it:
url regexcookie domain suffixcookie regexnotes
corp.example.org employeeAdd an exception for the employee login system
debug.corp.example.org  Add an exception for debug.corp.example.org
corp.example.orgcorp Add the suffix .corp to all cookies while talking to corp.example.org machines
alpha.login.example.orgcorp Add the suffix .corp to all cookies from alpha.login as well

After doing this, if you log into the alpha login, and then look in Firefox's cookie viewer, you'll see the user and auth cookies listed in the domain .example.org.corp. If you visit newproduct.corp.example.org, and it sets a cookie in the domain newproduct.corp.example.org, this would show up in the cookie viewer as newproduct.corp.example.org.corp.

History

Questions/Comments

Send questions, comments, or patches (especially patches! the UI sucks) to multicookie@enslaves.us