# Cookie

HTTP cookies (also called web cookies, Internet cookies, browser cookies, or simply cookies) are small blocks of [data](https://en.wikipedia.org/wiki/Data_\(computing\)) created by a [web server](https://en.wikipedia.org/wiki/Web_server) while a [user](https://en.wikipedia.org/wiki/User_\(computing\)) is [browsing](https://en.wikipedia.org/wiki/Browsing) a [website](https://en.wikipedia.org/wiki/Website) and placed on the user's computer or other device by the user's [web browser](https://en.wikipedia.org/wiki/Web_browser). Cookies are placed on the device used to access a website, and more than one cookie may be placed on a user's device during a session.

Cookies serve useful and sometimes essential functions on the [web](https://en.wikipedia.org/wiki/World_Wide_Web). They enable web servers to store [stateful](https://en.wikipedia.org/wiki/Program_state) information (such as items added in the shopping cart in an [online store](https://en.wikipedia.org/wiki/Online_shopping)) on the user's device or to track the user's browsing activity (including clicking particular buttons, [logging in](https://en.wikipedia.org/wiki/Access_control), or recording which [pages were visited in the past](https://en.wikipedia.org/wiki/Web_browsing_history)). They can also be used to save for subsequent use information that the user previously entered into [form fields](https://en.wikipedia.org/wiki/Form_\(HTML\)), such as names, addresses, [passwords](https://en.wikipedia.org/wiki/Password), and [payment card numbers](https://en.wikipedia.org/wiki/Payment_card_number).

Authentication cookies are commonly used by web servers to [authenticate](https://en.wikipedia.org/wiki/Authentication) that a user is logged in, and with which [account](https://en.wikipedia.org/wiki/Account_verification) they are logged in. Without the cookie, users would need to authenticate themselves by logging in on each page containing sensitive information that they wish to access. The security of an authentication cookie generally depends on the security of the issuing website and the user's [web browser](https://en.wikipedia.org/wiki/Comparison_of_web_browsers#Vulnerabilities), and on whether the cookie data is [encrypted](https://en.wikipedia.org/wiki/Encryption). [Security vulnerabilities](https://en.wikipedia.org/wiki/Vulnerability_\(computing\)) may allow a cookie's data to be read by an [attacker](https://en.wikipedia.org/wiki/Security_hacker), used to gain access to [user data](https://en.wikipedia.org/wiki/Personal_data), or used to gain access (with the user's credentials) to the website to which the cookie belongs (see [cross-site scripting](https://en.wikipedia.org/wiki/Cross-site_scripting) and [cross-site request forgery](https://en.wikipedia.org/wiki/Cross-site_request_forgery) for examples).

Tracking cookies, and especially [third-party tracking cookies](https://en.wikipedia.org/wiki/HTTP_cookie#Third-party_cookie), are commonly used as ways to compile long-term records of individuals' [browsing histories](https://en.wikipedia.org/wiki/Web_browsing_history) — a potential [privacy concern](https://en.wikipedia.org/wiki/Internet_privacy#HTTP_cookies) that prompted European and U.S. lawmakers to take action in 2011. European law requires that all websites targeting [European Union](https://en.wikipedia.org/wiki/European_Union) member states gain "[informed consent](https://en.wikipedia.org/wiki/Informed_consent)" from users before storing non-essential cookies on their device.

Source: <https://en.wikipedia.org/wiki/HTTP_cookie>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.bitbrowser.net/fingerprint/15.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
