aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/http/headers/set-cookie/index.html
diff options
context:
space:
mode:
authorMDN <actions@users.noreply.github.com>2022-03-17 00:12:44 +0000
committerMDN <actions@users.noreply.github.com>2022-03-17 00:12:45 +0000
commit4f4d511f3a78d7e3dc357e44481cf0a7eba99b9f (patch)
tree28270b34d9322e7f596cb231ff2b686caa651d4b /files/ja/web/http/headers/set-cookie/index.html
parent59bf61868acae62ff8d28f32f7c74008997646d5 (diff)
downloadtranslated-content-4f4d511f3a78d7e3dc357e44481cf0a7eba99b9f.tar.gz
translated-content-4f4d511f3a78d7e3dc357e44481cf0a7eba99b9f.tar.bz2
translated-content-4f4d511f3a78d7e3dc357e44481cf0a7eba99b9f.zip
[CRON] sync translated content
Diffstat (limited to 'files/ja/web/http/headers/set-cookie/index.html')
-rw-r--r--files/ja/web/http/headers/set-cookie/index.html74
1 files changed, 74 insertions, 0 deletions
diff --git a/files/ja/web/http/headers/set-cookie/index.html b/files/ja/web/http/headers/set-cookie/index.html
new file mode 100644
index 0000000000..ca21a20bef
--- /dev/null
+++ b/files/ja/web/http/headers/set-cookie/index.html
@@ -0,0 +1,74 @@
+---
+title: Set-Cookie2
+slug: Web/HTTP/Headers/Set-Cookie
+tags:
+ - Cookies
+ - HTTP
+ - Obsolete
+ - ヘッダー
+ - リファレンス
+translation_of: Web/HTTP/Headers/Set-Cookie2
+original_slug: Web/HTTP/Headers/Set-Cookie2
+---
+<p>{{HTTPSidebar}} {{obsolete_header}}</p>
+
+<p>サーバーからユーザーエージェントにCookieを送信するために使用された古い <strong><code>Set-Cookie2</code></strong> HTTP レスポンスヘッダーですが、仕様で廃止されました。代わりに {{HTTPHeader("Set-Cookie")}} を使用してください。</p>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row">ヘッダータイプ</th>
+ <td>{{Glossary("Response header")}}</td>
+ </tr>
+ <tr>
+ <th scope="row">{{Glossary("Forbidden header name")}}</th>
+ <td>いいえ</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="構文">構文</h2>
+
+<pre class="syntaxbox">Set-Cookie2: &lt;cookie-name&gt;=&lt;cookie-value&gt;
+Set-Cookie2: &lt;cookie-name&gt;=&lt;cookie-value&gt;; Comment=&lt;value&gt;
+Set-Cookie2: &lt;cookie-name&gt;=&lt;cookie-value&gt;; CommentURL=&lt;http-url&gt;
+Set-Cookie2: &lt;cookie-name&gt;=&lt;cookie-value&gt;; Discard
+Set-Cookie2: &lt;cookie-name&gt;=&lt;cookie-value&gt;; Domain=&lt;domain-value&gt;
+Set-Cookie2: &lt;cookie-name&gt;=&lt;cookie-value&gt;; Max-Age=&lt;non-zero-digit&gt;
+Set-Cookie2: &lt;cookie-name&gt;=&lt;cookie-value&gt;; Path=&lt;path-value&gt;
+Set-Cookie2: &lt;cookie-name&gt;=&lt;cookie-value&gt;; Port=&lt;port-number&gt;
+Set-Cookie2: &lt;cookie-name&gt;=&lt;cookie-value&gt;; Secure
+Set-Cookie2: &lt;cookie-name&gt;=&lt;cookie-value&gt;; Version=&lt;version-number&gt;
+
+// Multiple directives are also possible, for example:
+Set-Cookie2: &lt;cookie-name&gt;=&lt;cookie-value&gt;; Domain=&lt;domain-value&gt;; Secure
+
+// Multiple cookies are seperated by a comma
+Set-Cookie2: &lt;cookie-name&gt;=&lt;cookie-value&gt;, &lt;cookie-name&gt;=&lt;cookie-value&gt;, ...
+</pre>
+
+<h2 id="仕様">仕様</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">仕様書</th>
+ <th scope="col">タイトル</th>
+ </tr>
+ <tr>
+ <td>{{RFC("2965", "Set-Cookie2")}}</td>
+ <td>Historic specification of HTTP State Management Mechanism, obsoleted by {{RFC("6265")}}</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="ブラウザの互換性">ブラウザの互換性</h2>
+
+<p>{{Compat("http.headers.Set-Cookie2")}}</p>
+
+<h2 id="関連情報">関連情報</h2>
+
+<ul>
+ <li>{{HTTPHeader("Set-Cookie")}}</li>
+ <li>{{domxref("Document.cookie")}}</li>
+</ul>