开发者

What is a third party cookie? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 7 yea开发者_StackOverflow中文版rs ago.

Improve this question

What is a third party cookie and how is it used in Facebook connect feature?


A third-party cookie is a cookie from domain A, being set in domain B (while visitor is in domain B).

as you may know, a cookie is a file that is set on a per-domain basis only, and cannot be shared across different domains, so, how can it be that domain A has set a cookie while being in domain B?
these third-party cookies are set while retrieving components from other domains than the current one being viewed, and the cookies are set via HTTP response headers Set-Cookie.

HTTP/1.1 200 OK
Content-type: text/html
Set-Cookie: name=value

(content of page)


More information:

What are third-party cookies

Third party cookies

Setting a cookie

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜