From da78a9e329e272dedb2400b79a3bdeebff387d47 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:17 -0500 Subject: initial commit --- files/it/web/http/headers/cookie/index.html | 74 +++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 files/it/web/http/headers/cookie/index.html (limited to 'files/it/web/http/headers/cookie/index.html') diff --git a/files/it/web/http/headers/cookie/index.html b/files/it/web/http/headers/cookie/index.html new file mode 100644 index 0000000000..b89fc207fd --- /dev/null +++ b/files/it/web/http/headers/cookie/index.html @@ -0,0 +1,74 @@ +--- +title: Cookie +slug: Web/HTTP/Headers/Cookie +tags: + - Cookies + - Guida + - HTTP + - header + - richiesta +translation_of: Web/HTTP/Headers/Cookie +--- +
{{HTTPSidebar}}
+ +

Cookie è un'header di richiesta HTTP che contiene i cookie HTTP memorizzati, precedentemente inviati dal server tramite l'header {{HTTPHeader("Set-Cookie")}}.

+ +

L' header Cookie è opzionale e può essere omesso, per esempio, se le impostazioni di privacy del browser bloccano i cookie.

+ + + + + + + + + + + + +
Tipo header{{Glossary("Request header")}}
{{Glossary("Forbidden header name")}}si
+ +

Sintassi

+ +
Cookie: <cookie-list>
+Cookie: name=value
+Cookie: name=value; name2=value2; name3=value3
+ +
+
<cookie-list>
+
Una lista di coppie chiave-valore nel formato <cookie-name>=<cookie-value>. Le coppie nella lista sono separate da un punto e virgola e uno spazio ('; ').
+
+ +

Esempio

+ +
Cookie: PHPSESSID=298zf09hf012fh2; csrftoken=u32t4o3tb3gg43; _gat=1;
+ +

Specifiche

+ + + + + + + + + + + + + + +
SpecificaTitolo
{{RFC("6265", "Cookie", "5.4")}}HTTP State Management Mechanism
+ +

compatibilità dei browser

+ + + +

{{Compat("http.headers.Cookie")}}

+ +

Vedi anche

+ + -- cgit v1.2.3-54-g00ecf