©
This document usesPHP Chinese website manualRelease
过时的
此功能已过时。虽然它可能在某些浏览器中仍然有效,但它的使用是不鼓励的,因为它可以在任何时候被删除。尽量避免使用它。
过时的Set-Cookie2
HTTP 响应标头用于从服务器向用户代理发送 cookie,但已被规范所弃用。Set-Cookie
改为使用。
Header type |
Response header |
---|---|
Forbidden header name |
no |
Set-Cookie2:= Set-Cookie2: = ; Comment= Set-Cookie2: = ; CommentURL= Set-Cookie2: = ; Discard Set-Cookie2: = ; Domain= Set-Cookie2: = ; Max-Age= Set-Cookie2: = ; Path= Set-Cookie2: = ; Port= Set-Cookie2: = ; Secure Set-Cookie2: = ; Version= // Multiple directives are also possible, for example:Set-Cookie2: = ; Domain= ; Secure// Multiple cookies are seperated by a commaSet-Cookie2: = , = , ...
Specification |
Title |
---|---|
RFC 2965: Set-Cookie2 |
Historic specification of HTTP State Management Mechanism, obsoleted by RFC 6265 |
Feature |
Chrome |
Firefox |
Edge |
Internet Explorer |
Opera |
Safari |
---|---|---|---|---|---|---|
Basic Support |
(No) |
(No) |
(No) |
(No) |
(No) |
(No) |
Feature |
Android |
Chrome for Android |
Edge mobile |
Firefox for Android |
IE mobile |
Opera Android |
iOS Safari |
---|---|---|---|---|---|---|---|
Basic Support |
(No) |
(No) |
(No) |
(No) |
(No) |
(No) |
(No) |