开发者

ASP.NET cross domain authetication with server side created cookies

开发者 https://www.devze.com 2023-03-05 07:44 出处:网络
Can I manually create and add cookies for multiple domains (in HttpResponse.Cookies) on the server and return them to the browser ? If yes does it mean that content for the domains I\'ve create cookie

Can I manually create and add cookies for multiple domains (in HttpResponse.Cookies) on the server and return them to the browser ? If yes does it mean that content for the domains I've create cookies for can see that cookie ? Not talking about sub-domains but different domains all t开发者_Go百科ogether. So I create cookie for a.com , b.com, c.com and then I return them to the client, then I open iframes to their sites ... will this work or do the browser override the domain if its not the one they received the cookies from ?

EDIT: I guess it doesn't work? The browser is overriding it:(

0

精彩评论

暂无评论...
验证码 换一张
取 消