当你不将HTTP cookie写回客户端时会发生什么?

huangapple go评论71阅读模式
英文:

What happened when you don't write back HTTP cookie to client?

问题

当你不回写cookie时会发生什么?

我正在使用fasthttp,如果你不回写cookie,之前从服务器发送的cookie会在浏览器上被删除吗?

英文:

What happened when you don't write back cookie?
I'm using fasthttp, would the previously sent cookie from the server deleted on the browser if you don't write back a cookie?

答案1

得分: 2

当你不回复cookie时会发生什么?

那么cookie不会改变。名称保持不变。值保持不变。过期时间规则也保持不变。

如果你不回复cookie,服务器之前发送的cookie会被浏览器删除吗?

不会。

英文:

> What happened when you don't write back cookie?

Then the cookie doesn't change. The name stays the same. The value stays the same. The rules for when it expires stay the same.

> would the previously sent cookie from the server deleted on the browser if you don't write back a cookie?

No.

huangapple
  • 本文由 发表于 2017年3月6日 22:27:40
  • 转载请务必保留本文链接:https://go.coder-hub.com/42628118.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定