本地凭据和 cookie

发布于 2024-11-29 21:08:37 字数 259 浏览 1 评论 0原文

当用户注销未注册的 Stackexchange 帐户时,系统会显示以下消息

您是未注册用户。我们只能通过您的浏览器 cookie 知道您是谁。 如果您在注册之前退出,该帐户将无法挽回地丢失!单击“注销”将清除浏览器中的所有本地凭据。

这意味着什么?这是否意味着 Stackexchange 不会记录我的访问? (即不存储我的IP地址...?)另外,有人可以用外行术语解释什么是“cookie”和“本地凭据”吗?

When one logs out of an unregistered Stackexchange account, one is presented with the message

You’re an unregistered user. We only know who you are through your browser cookies.
If you log out before registering, this account will be irretrievably lost! Clicking Log Out will clear all local credentials in your browser.

What does this mean? Does it mean that Stackexchange does not log my access? (i.e. does not store my IP address...?) Also, could someone explain in layman terms what "cookies" and "local credentials" are?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

看海 2024-12-06 21:08:37

当您以匿名用户身份访问 StackOverflow 时,该网站会在您的计算机上存储一个“cookie”,其中包含识别刚刚为您创建的帐户所需的信息。 Cookie 只是存储在您计算机上的一段字符串数据,创建它的网站可以访问该数据。

该 cookie 将保留在您的计算机上,存储创建的这些“本地凭据”,因此当您返回 StackOverflow 时,该网站将看到该 cookie,并使用该数据“记住”您是谁。

当您“注销”时,cookie 将被删除。现在,当您再次访问 StackOverflow 时,它无法找到 cookie,因此它不知道您是谁。如果您尚未注册,则无法重新登录,因为该网站为您提供的唯一凭据存储在您计算机上的 cookie 中,而该 cookie 已不存在。

When you arrive at StackOverflow as an anonymous user, the site stores a "cookie" on your computer, which contains the information required to identify the account that was just created for you. A cookie is just a piece of string data that is stored on your computer, which can be accessed by the website that created it.

The cookie will stay on your computer, storing these "local credentials" that were created, so when you go back to StackOverflow, the site will see the cookie, and will use that data to "remember" who you were.

When you "log out", the cookie will be deleted. Now, when you visit StackOverflow again, it can't locate the cookie, so it doesn't know who you are. And if you haven't registered, then there's no way to log back in, because the only credentials the site had for you were stored on your computer in a cookie that no longer exists.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文