You can't all of the current web browsers disallow cross security site cookie meddling. The only way this will work is if you have both sites be on the same domain. then you set the cookie for the domain not the hostname. If both sites must be on different domains yo will need to bridge the sites with a session encoded in the URL.