A cookie is a small file which is stored on a user's computer. It is designed to hold a modest amount of data specific to a particular visitor and website, and can be accessed either by the website's server or the visitor's computer. Show
This allows the server to deliver a page tailored to a particular user, or the page itself can contain some script which is aware of the data in the cookie and so is able to carry information from one visit to the website (or a related site) to the next. Are Cookies Enabled in my Browser?To check whether your browser is configured to allow cookies, visit the Cookie checker. This page will attempt to create a cookie and report on whether or not it succeeded. For information on how to enable or disable cookies, see 'Enabling cookies'. For information on how to delete and clear cookies, see 'Deleting cookies'. Can I see/view the cookies I have on my computer?Most browsers have a configuration screen which allows the user to see what cookies have been stored on the computer, and optionally to delete them. For more information, see the viewing cookies page. Note that it is not possible for a webpage to view cookies set by other sites, as this would represent a privacy and security problem. What's in a Cookie?Each cookie is effectively a small lookup table containing pairs of (key, data) values - for example (firstname, John) (lastname, Smith). Once the cookie has been read by the code on the server or client computer, the data can be retrieved and used to customise the web page appropriately. When are Cookies Created?Writing data to a cookie is usually done when a new webpage is loaded - for example after a 'submit' button is pressed the data handling page would be responsible for storing the values in a cookie. If the user has elected to disable cookies then the write operation will fail, and subsequent sites which rely on the cookie will either have to take a default action, or prompt the user to re-enter the information that would have been stored in the cookie. Why are Cookies Used?Cookies are a convenient way to carry information from one session on a website to another, or between sessions on related websites, without having to burden a server machine with massive amounts of data storage. Storing the data on the server without using cookies would also be problematic because it would be difficult to retrieve a particular user's information without requiring a login on each visit to the website. If there is a large amount of information to store, then a cookie can simply be used as a means to identify a given user so that further related information can be looked up on a server-side database. For example the first time a user visits a site they may choose a username which is stored in the cookie, and then provide data such as password, name, address, preferred font size, page layout, etc. - this information would all be stored on the database using the username as a key. Subsequently when the site is revisited the server will read the cookie to find the username, and then retrieve all the user's information from the database without it having to be re-entered. How Long Does a Cookie Last?The time of expiry of a cookie can be set when the cookie is created. By default the cookie is destroyed when the current browser window is closed, but it can be made to persist for an arbitrary length of time after that. Who Can Access Cookies?When a cookie is created it is possible to control its visibility by setting its 'root domain'. It will then be accessible to any URL belonging to that root. For example the root could be set to "whatarecookies.com" and the cookie would then be available to sites in "www.whatarecookies.com" or "xyz.whatarecookies.com" or "whatarecookies.com". This might be used to allow related pages to 'communicate' with each other. It is not possible to set the root domain to 'top level' domains such as '.com' or '.co.uk' since this would allow widespread access to the cookie. By default cookies are visible to all paths in their domains, but at the time of creation they can be retricted to a given subpath - for example "www.whatarecookies.com/images". How Secure are Cookies?There is a lot of concern about privacy and security on the internet. Cookies do not in themselves present a threat to privacy, since they can only be used to store information that the user has volunteered or that the web server already has. Whilst it is possible that this information could be made available to specific third party websites, this is no worse than storing it in a central database. If you are concerned that the information you provide to a webserver will not be treated as confidential then you should question whether you actually need to provide that information at all. What are Tracking Cookies?Some commercial websites include embedded advertising material which is served from a third-party site, and it is possible for such adverts to store a cookie for that third-party site, containing information fed to it from the containing site - such information might include the name of the site, particular products being viewed, pages visited, etc. When the user later visits another site containing a similar embedded advert from the same third-party site, the advertiser will be able to read the cookie and use it to determine some information about the user's browsing history. This enables publishers to serve adverts targetted at a user's interests, so in theory having a greater chance of being relevant to the user. However, many people see such 'tracking cookies' as an invasion of privacy since they allow an advertiser to build up profiles of users without their consent or knowledge. Cookie Alternative namesBiscuitCourseSnack, dessertPlace of originPersia, 7th century AD[1][2]Serving temperatureOften room temperature, although they may be served when still warm from the oven
A cookie is a baked or cooked snack or dessert that is typically small, flat and sweet. It usually contains flour, sugar, egg, and some type of oil, fat, or butter. It may include other ingredients such as raisins, oats, chocolate chips, nuts, etc. Most English-speaking countries call crunchy cookies biscuits, except for the United States and Canada, where biscuit refers to a type of quick bread. Chewier biscuits are sometimes called cookies even in the United Kingdom.[3] Some cookies may also be named by their shape, such as date squares or bars. Biscuit or cookie variants include sandwich biscuits, such as custard creams, Jammie Dodgers, Bourbons and Oreos, with marshmallow or jam filling and sometimes dipped in chocolate or another sweet coating. Cookies are often served with beverages such as milk, coffee or tea and sometimes "dunked", an approach which releases more flavour from confections by dissolving the sugars,[4] while also softening their texture. Factory-made cookies are sold in grocery stores, convenience stores and vending machines. Fresh-baked cookies are sold at bakeries and coffeehouses. TerminologyTraditional American Christmas cookie tray.In many English-speaking countries outside North America, including the United Kingdom, the most common word for a crisp cookie is biscuit.[3] The term cookie is normally used to describe chewier ones.[3] However, in many regions both terms are used. The container used to store cookies may be called a cookie jar. In Scotland the term cookie is sometimes used to describe a plain bun.[5] Cookies that are baked as a solid layer on a sheet pan and then cut, rather than being baked as individual pieces, are called in British English bar cookies or traybakes.[3] EtymologyThe word dates from at least 1701 in Scottish usage where the word meant "plain bun", rather than thin baked good, and so it is not certain whether it is the same word. From 1808, the word "cookie" is attested "...in the sense of "small, flat, sweet cake" in American English. The American use is derived from Dutch koekje "little cake," which is a diminutive of "koek" ("cake"), which came from the Middle Dutch word "koke".[6] Another claim is that the American name derives from the Dutch word koekje or more precisely its informal, dialect variant koekie[7] which means little cake, and arrived in American English with the Dutch settlement of New Netherland, in the early 1600s.[8] According to the Scottish National Dictionary, its Scottish name derives from the diminutive form (+ suffix -ie) of the word cook, giving the Middle Scots cookie, cooky or cu(c)kie. There was much trade and cultural contact across the North Sea between the Low Countries and Scotland during the Middle Ages, which can also be seen in the history of curling and, perhaps, golf.[citation needed] DescriptionA dish of assorted cookies, including sandwich cookies filled with jam. Cookies baking in an oven.Cookies are most commonly baked until crisp or else for just long enough to ensure soft interior. Other types of cookies are not baked at all, such as varieties of peanut butter cookies that use solidified chocolate rather than set eggs and wheat gluten as a binder.[9] Cookies are produced in a wide variety of styles, using an array of ingredients including sugars, spices, chocolate, butter, peanut butter, nuts, or dried fruits. A general theory of cookies may be formulated in the following way. Despite its descent from cakes and other sweetened breads, the cookie in almost all its forms has abandoned water as a medium for cohesion. Water in cakes serves to make the batter as thin as possible, the better to allow bubbles—responsible for a cake's fluffiness—to form. In the cookie the agent of cohesion has become some form of oil. Oils, whether in the form of butter, vegetable oils, or lard, are much more viscous than water and evaporate freely at a far higher temperature. Thus a cake made with butter or eggs in place of water is much denser after removal from the oven. Rather than evaporating as water does in a baking cake, oils in cookies remain. These oils saturate the cavities created during baking by bubbles of escaping gases. These gases are primarily composed of steam vaporized from the egg whites and the carbon dioxide released by heating the baking powder. This saturation produces the most texturally attractive feature of the cookie, and indeed all fried foods: crispness saturated with a moisture (namely oil) that does not render soggy the food it has soaked into. HistoryThumbprint cookiesCookie-like hard wafers have existed for as long as baking is documented, in part because they survive travel very well, but they were usually not sweet enough to be considered cookies by modern standards.[10] Cookies appear to have their origins in 7th century AD Persia, shortly after the use of sugar became relatively common in the region.[2][1] They spread to Europe through the Muslim conquest of Spain. By the 14th century, they were common in all levels of society throughout Europe, from royal cuisine to street vendors.[11] The first documented instance of the figure-shaped gingerbread man was at the court of Elizabeth I of England in the 16th century. She had the gingerbread figures made and presented in the likeness of some of her important guests.[12] With global travel becoming widespread at that time, cookies made a natural travel companion, a modernized equivalent of the travel cakes used throughout history. One of the most popular early cookies, which traveled especially well and became known on every continent by similar names, was the jumble, a relatively hard cookie made largely from nuts, sweetener, and water. Cookies came to America through the Dutch in New Amsterdam in the late 1620s. The Dutch word "koekje" was Anglicized to "cookie" or cooky. The earliest reference to cookies in America is in 1703, when "The Dutch in New York provided...'in 1703...at a funeral 800 cookies...'"[13] The most common modern cookie, given its style by the creaming of butter and sugar, was not common until the 18th century.[14] The Industrial Revolution in Britain and the consumers it created saw cookies (biscuits) become products for the masses, and firms such as Huntley & Palmers (formed in 1822), McVitie's (formed in 1830) and Carr's (formed in 1831) were all established.[15] The decorative biscuit tin, invented by Huntley & Palmers in 1831, saw British cookies exported around the world.[15] In 1891, Cadbury filed a patent for a chocolate-coated cookie.[15] Bakarkhani cookie is part of Mughlai cuisine of the Indian subcontinent.ClassificationCookie dough ready to be put in the ovenCookies are broadly classified according to how they are formed or made, including at least these categories:
Other types of cookies are classified for other reasons, such as their ingredients, size, or intended time of serving:
ReceptionLeah Ettman from Nutrition Action has criticized the high calorie count and fat content of supersized cookies, which are extra large cookies; she cites the Panera Kitchen Sink Cookie, a supersized chocolate chip cookie, which measures 5 1/2 inches in diameter and has 800 calories.[21] For busy people who eat breakfast cookies in the morning, Kate Bratskeir from the Huffington Post recommends lower-sugar cookies filled with "heart-healthy nuts and fiber-rich oats".[17] A book on nutrition by Paul Insel et al. notes that "low-fat" or "diet cookies" may have the same number of calories as regular cookies, due to added sugar.[18] Popular cultureThere are a number of slang usages of the term "cookie". The slang use of "cookie" to mean a person, "especially an attractive woman" is attested to in print since 1920.[22] The catchphrase "that's the way the cookie crumbles", which means "that's just the way things happen" is attested to in print in 1955.[23] Other slang terms include "smart cookie” and “tough cookie.” According to The Cambridge International Dictionary of Idioms, a smart cookie is “someone who is clever and good at dealing with difficult situations.” [24] The word "cookie" has been vulgar slang for "vagina" in the US since 1970.[25] The word "cookies" is used to refer to the contents of the stomach, often in reference to vomiting (e.g., "pop your cookies" a 1960s expression, or "toss your cookies", a 1970s expression).[25] The expression "cookie cutter", in addition to referring literally to a culinary device used to cut rolled cookie dough into shapes, is also used metaphorically to refer to items or things "having the same configuration or look as many others" (e.g., a "cookie cutter tract house") or to label something as "stereotyped or formulaic" (e.g., an action movie filled with "generic cookie cutter characters").[26] "Cookie duster" is a whimsical expression for a mustache. Cookie Monster is a Muppet on the long-running children's television show Sesame Street. He is best known for his voracious appetite for cookies and his famous eating phrases, such as "Me want cookie!", "Me eat cookie!" (or simply "COOKIE!"), and "Om nom nom nom" (said through a mouth full of food).[27][28][29][30] Notable varieties
Gallery
Related pastries and confections
Manufacturers
Product lines and brands
Miscellaneous
See also
References
Further reading
External links
Wikibooks Cookbook has a recipe/module on
|