you could try doing this, though its kinda clunky. use two cookies. identical except for the domain name. either domain will be able to read one of the cookies. and whenever you write the cookie, write both cookies, updating both of them. i think it'll work.