Magic Cookie - Cookie As Token

Cookie As Token

A magic cookie can be analogous to, for example, the token supplied at a coat check (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. In other cases (as is possible with HTTP cookies), the actual data of interest can be stored as name–value pairs directly on the cookie.

Cookies are used as identifying tokens in many computer applications. When one visits a website, the remote server may leave an 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.

Read more about this topic:  Magic Cookie

Famous quotes containing the words cookie and/or token:

    Living by basic good-mothering guidelines enables a mom to blend the responsibilities of parenthood with its joys; to know when to stand her ground and when to be flexible; and to absorb the lessons of the parenting gurus while also trusting her inner voice when it reasons that another cookie isn’t worth fighting over, or that her child won’t suffer irreparable trauma if, once in a while, Mom puts her own needs first.
    Sue Woodman (20th century)

    The token woman carries a bouquet of hothouse celery
    and a stenographer’s pad; she will take
    the minutes, perk the coffee, smile
    like a plastic daisy and put out
    the black cat of her sensuous anger
    to howl on the fence all night.
    Marge Piercy (b. 1936)