Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1109975 of Cookie2

  • Revision slug: Web/HTTP/Headers/Cookie2
  • Revision title: Cookie2
  • Revision id: 1109975
  • Created:
  • Creator: fscholz
  • Is current revision? No
  • Comment

Revision Content

{{HTTPSidebar}} {{obsolete_header}}

The obsolete Cookie2 HTTP request header used to advise the server that the user agent understands "new-style" cookies, but nowadays user agents will use the {{HTTPHeader("Cookie")}} header instead, not this one.

Header type {{Glossary("Request header")}}
{{Glossary("Forbidden header name")}} yes

Examples

Cookie2: $Version="1"

Specifications

Specification Title
{{RFC("2965", "Cookie2")}} Historic specification of HTTP State Management Mechanism, obsoleted by {{RFC("6265")}}

Browser compatibility

{{Compat}}

See also

  • {{HTTPHeader("Cookie")}}
  • {{domxref("Document.cookie")}}

Revision Source

<div>{{HTTPSidebar}} {{obsolete_header}}</div>

<p>The obsolete <strong><code>Cookie2</code></strong> HTTP request header used to&nbsp;advise the server that the user agent understands "new-style" cookies, but nowadays user agents will use the {{HTTPHeader("Cookie")}} header instead, not this one.</p>

<table class="properties">
 <tbody>
  <tr>
   <th scope="row">Header type</th>
   <td>{{Glossary("Request header")}}</td>
  </tr>
  <tr>
   <th scope="row">{{Glossary("Forbidden header name")}}</th>
   <td>yes</td>
  </tr>
 </tbody>
</table>

<h2 id="Examples">Examples</h2>

<pre>
Cookie2: $Version="1"</pre>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Title</th>
  </tr>
  <tr>
   <td>{{RFC("2965", "Cookie2")}}</td>
   <td>Historic specification of HTTP State Management Mechanism, obsoleted by&nbsp;{{RFC("6265")}}</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p class="hidden">The compatibility table in this page is generated from structured data. If you’d like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data/README.md">https://github.com/mdn/browser-compat-data/README.md</a> and send us a pull request.</p>

<p>{{Compat}}</p>

<h2 id="See_also">See also</h2>

<ul>
 <li>{{HTTPHeader("Cookie")}}</li>
 <li>{{domxref("Document.cookie")}}</li>
</ul>
Revert to this revision