Cross-domain to achieve cross-domain cookie settings in IE, try n method will not work, looked at the statistics, can be achieved by setting the value of header in p3p, really good :)
For example, to access b stand a station set a cookies, you can do so:
1. Create a file cookies.htm in b.com
says:
Content setcookies.asp under 2.a.com as:
<
%
The Response.AddHeader " the P3P " , " the CP = CURa ADMa DEVa the UNI PUR PSAo the INT BUS PSDO the OUR the STA on DEM the PRE the COM the NAV the OTC the NOI the DSP COR " the Response.Cookies ( " AAA " ). Domain = the Request ( "PAR") the Response .Cookies ( " AAA " ) = " this is the method in the b.com file access provided by the a.com Cookies " % >
The Response.AddHeader " the P3P " , " the CP = CURa ADMa DEVa the UNI PUR PSAo the INT BUS PSDO the OUR the STA on DEM the PRE the COM the NAV the OTC the NOI the DSP COR " the Response.Cookies ( " AAA " ). Domain = the Request ( "PAR") the Response .Cookies ( " AAA " ) = " this is the method in the b.com file access provided by the a.com Cookies " % >
This may be provided by cookies.htm access files in a.com and b.com domain modified at corresponding cookies, and thus achieving the purpose of cross-domain access to the cookie set.
Reproduced in: https: //www.cnblogs.com/Spring/archive/2007/11/16/961753.html