A magic cookie or cookie is a token or short packet of data passed between communicating programs, where the data is typically not meaningful to the recipient program. The contents are opaque and not usually interpreted until the recipient passes the cookie data back to the sender or perhaps another program at a later time. The cookie is often used like a ticket—to identify a particular event or transaction.
In some cases, recipient programs are able to meaningfully compare two cookies for equality.
A magic cookie is analogous to, for example, the token supplied at a coat check (British English: cloakroom) counter in real life. The token has no intrinsic meaning, but its uniqueness allows it to be exchanged for the correct coat when returned to the coat check counter. The coat check token is opaque because the way in which the counter staff are able to find the correct coat when the token is presented is immaterial to the person who wishes their coat returned.
Cookies are used as identifying tokens in many computer applications. When one visits a website, the remote server may leave a HTTP cookie on one's computer, where they are often used to authenticate identity upon returning to the website. Cookies are a component of the most common authentication method used by the X Window System.
Some cookies (such as HTTP cookies) have a digital signature appended to them or are otherwise encrypted, so that hostile users or applications are unable to forge a cookie and present it to the sending application, in order to gain access that the hostile user is otherwise not entitled to. Depending on the nature of the encryption algorithm used, users may be able to verify that a cookie is authentic.
Koekie (rekenaarwetenskap) | Cookie | Cookie | Cookie | Cookie (informatique) | Cookie | Cookie | Cookie | Cookie | Kuki
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Magic cookie".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world