What are Cookies

Cookies are small bits of data (information) stored as plain text files on a user's computer through the website browser. Cookies are also called HTTP Cookies because they can be transmitted only through HTTP. Cookies are necessary so that most websites work properly. A basic website can function without serving cookies, but most websites need some cookies stored on the user's computer so that the website remembers the user's language preference and other preferences.

Cookies are created and stored on the user's computer when the user's browser loads a particular website. The website sends information to the browser which then creates a text file, known as a "cookie". Every time the user goes back to the same website, the browser retrieves and sends this "cookie" file to the website.

Types of Cookies

Session Cookies

Session Cookies are temporary cookies stored in the user's browser memory just until the browser is closed. When the browser is closed, these cookies are deleted.

Persistent Cookies

Persistent Cookies are cookies that have an expiration cookies.