什么是第三方Cookie? [英] What is a third party cookie?
问题描述
什么是第三方Cookie,它在Facebook Connect功能中如何使用?
What is a third party cookie and how is it used in Facebook connect feature?
推荐答案
第三方cookie是来自域 A 的cookie,该cookie设置在域 B 中(同时访客位于域 B ).
A third-party cookie is a cookie from domain A, being set in domain B (while visitor is in domain B).
您可能知道,cookie是仅基于每个域设置的文件,并且不能在不同域之间共享,因此, A 域如何设置位于域 B 中的cookie?
这些第三方Cookie是在从其他域(而不是当前正在查看的域)中检索组件时设置的,并且这些Cookie是通过HTTP响应标头 Set-Cookie
设置的.
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)
更多信息:
这篇关于什么是第三方Cookie?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!