Revision history [back]
Quick research shows that port number is not supported by the Cookies standard, so even if you attempt to implement this, there is no guarantee that browsers will honor the port restriction.
http://stackoverflow.com/questions/1612177/are-http-cookies-port-specific
Perhaps use a different domain for the second instance.