in reply to Setting a cookie with another domain?
2. On Server A, whenever you set a cookie, send the cookie information to server B by using a javascript like:if ($ENV{HTTP_REFERER}=~/ServerA/) { print "Coookie: ".$ENV{QUERY_STRING}."\n\n"; }
The javascript will load the 'image', but it never displays it, thus you'll not get any strange errors. Server B will set the cookie when it is called. This might not work as is: I've not tried it. However the concept should work.var temp=new Image; temp.src="http://ServerB/cgi-bin/setcookie.pl?$yourCookieString";
|
|---|