right, I understood the first time... I just thought you could do it with the domain property.
Another solution ( I know not the best ) but after you set the first cookie, use javascript to go to a page on the second domain, set a cookie and use javascript to go right back to where you were using history.go(-2) or (-1).