What are Cookies?
In this lesson, we will discuss cookies.
We'll cover the following...
What are Cookies
HTTP cookies, or web cookies, are small text files that store small pieces of information. They are created by the websites we visit and are stored on our browser. Cookies are limited to 4kb in size, which means they cannot store large amounts of data.
A cookie generally contains:
name
- A website or a third-party server identifies a cookie using its name.value
- A random alphanumeric character, and it stores data like a unique identifier to identify the user and other information.attribute
– A set of characteristics such as the expiration date, domain, path, and flags.
...