Difference between revisions of "Cookie"

From IAB Wiki
Jump to: navigation, search
(http://woelgin.interfree.it/topic-1859.html)
 
(36 intermediate revisions by 22 users not shown)
Line 1: Line 1:
 +
A '''cookie''', also known as an '''HTTP cookie''', '''web cookie''', or '''browser cookie''', is a string of text sent from a [[wikipedia:web server|web server]] to a user's browser that the browser is expected to send back to the web server in subsequent interactions. 
 +
 +
A cookie has a few core attributes - the cookie value, the domain and path within which it is valid, and the cookie expiry.  There are other attributes as well that limit the cookie to HTTPS-only transactions, or hide it from JavaScript. 
 +
* The domain and path define the scope of the cookie - they tell the browser that cookies should only be sent back to the server for the given domain and path.
 +
* Cookies that do not have a specific expiration date and time are automatically deleted when the web browser is next closed.  Cookies with a set expiry time are considered '''persistent cookies''', while cookies without set expiry times are considered '''session cookies'''. 
 +
 +
In online advertising, cookies generally store a unique identifier, and may contain information like what ads were recently seen (for [[frequency capping]]), when the cookie was created (to discover short duration identities), and other simple attributes. 
 +
 
[[Category:Glossary]]
 
[[Category:Glossary]]
A cookie is a text-only string of information from a website via a “response header” that a web
 
browser transfers to a cookie file on a client PC. The client PC browser has sole discretion to
 
store these response headers from one or more websites.
 

Latest revision as of 16:13, 12 April 2012

A cookie, also known as an HTTP cookie, web cookie, or browser cookie, is a string of text sent from a web server to a user's browser that the browser is expected to send back to the web server in subsequent interactions.

A cookie has a few core attributes - the cookie value, the domain and path within which it is valid, and the cookie expiry. There are other attributes as well that limit the cookie to HTTPS-only transactions, or hide it from JavaScript.

  • The domain and path define the scope of the cookie - they tell the browser that cookies should only be sent back to the server for the given domain and path.
  • Cookies that do not have a specific expiration date and time are automatically deleted when the web browser is next closed. Cookies with a set expiry time are considered persistent cookies, while cookies without set expiry times are considered session cookies.

In online advertising, cookies generally store a unique identifier, and may contain information like what ads were recently seen (for frequency capping), when the cookie was created (to discover short duration identities), and other simple attributes.