Talk:HTTP cookie

{{User:MiszaBot/config

| algo = old(180d)

| archive = Talk:HTTP cookie/Archive %(counter)d

| counter = 4

| maxarchivesize = 125K

| archiveheader = {{Automatic archive navigator}}

| minthreadstoarchive = 2

| minthreadsleft = 4

}}

{{Talk header}}

{{WikiProject banner shell|class=C|1=

{{WikiProject Politics|importance=mid}}

{{WikiProject Philosophy|importance=high|ethics=yes|social=yes}}

{{WikiProject Sociology|importance=high}}

{{WikiProject Law|importance=mid}}

{{WikiProject Computing|importance=Mid}}

{{WikiProject Internet|importance=high}}

{{WikiProject Computer Security|importance=high |computing-importance=mid}}

{{WikiProject Spoken Wikipedia}}

{{WikiProject Websites|importance=High}}

{{Etymology section}}

}}

{{Article history

|action1=PR

|action1date=14:03, 16 January 2006

|action1link=Wikipedia:Peer review/HTTP cookie/archive1

|action1result=reviewed

|action1oldid=35399308

|action2=FAC

|action2date=11:41, 28 January 2006

|action2link=Wikipedia:Featured article candidates/HTTP cookie

|action2result=promoted

|action2oldid=37070130

|action3=FAR

|action3date=04:36, 7 April 2009

|action3link=Wikipedia:Featured article review/HTTP cookie

|action3result=removed

|action3oldid=282271020

|action4=GAN

|action4link=/GA1

|action4date=23:45, 6 June 2011 (UTC)

|action4result=failed

|action4oldid=432875800

|maindate=May 8, 2006

|currentstatus=FFA

|topic=computing

}}

{{FOLDOC}}

{{Backwardscopy

|author = Surhone, L. M., Timpledon, M. T., & Marseken, S. F.

|year = 2010

|title = Online advertising: World Wide Web, interactive advertising, HTTP cookie

|org = Betascript Publishing

|comments = {{OCLC|709610692}}, {{ISBN|9786132026712}}.

|bot=LivingBot

}}

{{old move|date=16 October 2023|destination=Cookies|result=not moved|link=Special:Permalink/1181014915#Requested move 16 October 2023}}

{{archives|banner=yes}}

{{merged-from|Cookiejacking|February 2019}}

"Alternatives to cookies" should be split out into a separate article

The section "Alternatives to cookies" list various identifiers and cache records stored by the client (and metadata like IP). These things can be used for tracking (one application of cookies), but they don't actually substitute cookies in general. Also, this list is missing a few entries, like:

: - favicon cache:

:: https://arstechnica.com/information-technology/2021/02/new-browser-tracking-hack-works-even-when-you-flush-caches-or-go-incognito/

: - HSTS tracking, see

:: https://nakedsecurity.sophos.com/2015/02/02/anatomy-of-a-browser-dilemma-how-hsts-supercookies-make-you-choose-between-privacy-or-security/

:: https://webkit.org/blog/8146/protecting-against-hsts-abuse/

: - redirect tracking, see

:: https://digiday.com/marketing/wtf-what-is-redirect-tracking/

Also see:

https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Privacy/Redirect_tracking_protection#what_data_is_cleared

Semi-protected edit request on 3 April 2025

{{edit semi-protected|HTTP cookie|answered=yes}}

In the Browser fingerprint paragraph, it would be nice to specify that "While the collection of fingerprinting data occurs client-side, the analysis and identification of users based on this data are performed server-side." Please, see the resource here: https://www.researchgate.net/publication/365268626_A_Survey_of_Browser_Fingerprint_Research_and_Application

Also, according to Wikipedia's Guidelines, an example could be done. Here is my attempy:

"A well-known application of browser fingerprinting is in online banking systems. This technology enables the creation of unique identifiers for customers' devices during the login phase to detect suspicious activities, such as attempts to access accounts from unrecognized or potentially fraudulent devices."

Thanks! Ate Keurentjes (talk) 08:41, 3 April 2025 (UTC)

:File:Semi-protection-unlocked.svg Not done: According to the page's protection level you should be able to edit the page yourself. If you seem to be unable to, please reopen the request with further details. twisted. (user | talk | contribs) 14:37, 14 April 2025 (UTC)

"Created by a web server" in the first paragraph may not always be correct

Current first paragraph: "HTTP cookie [...] is a small block of data created by a web server while a user is browsing a website [...]"

Problem: "created by a web server" may not always be correct and could potentially be misleading, especially if it's in the first paragraph.

As mentioned later down in the article: "Although cookies are usually set by the web server, they can also be set by the client using a scripting language such as JavaScript".

That is, it may be more correct to say something along the lines of "usually created by a web server or browser-side script" ("usually", since we could in theory consider cases like manually adding a cookie to browser's SQLite database, or curl's cookies.txt file, etc.). UkuSormus (talk) 05:38, 10 April 2025 (UTC)

"user's web browser" v.s. other types of client

Current first paragraph: "HTTP cookie [...] is a small block of data [...] placed on the user's computer or other device by the user's web browser [...]"

The current wording explicitly uses "user's web browser".

Should we consider non-browser clients such as curl to be mentioned in the article? (see, e.g., [https://curl.se/docs/http-cookies.html curl - HTTP cookies])

If so, should we also consider modifying the first paragraph to use something like "by the client, usually the user's web browser", or it could get too abstract for the intro? UkuSormus (talk) 05:40, 10 April 2025 (UTC)

New browser-side CookieStore API

In the current version of the article, only the document.cookie browser API is mentioned for manipulating cookies. Nowadays, there's also the new CookieStore API (see [https://developer.mozilla.org/en-US/docs/Web/API/CookieStore MDN]), supported by Chromium-based browsers and soon in Firefox. UkuSormus (talk) 05:41, 10 April 2025 (UTC)