A cookie is a text file that a website requests to be saved on the visitor's computer. Cookies are used on many websites to give a visitor access to various functions. The information in the cookie can also be used to track a user's browsing of websites that use the same cookie.
There are two types of cookies. One type saves a file for a longer period of time on the visitor's computer, the cookie then has an expiration date. It is used, for example, in functions that tell you what is new since the user last visited the current website last time. When the expiration date has passed, the cookie is deleted when the user returns to the website that created it. The second type of cookie is called a session cookie and has no expiration date. While a user is browsing a page, this cookie is temporarily stored in the user's computer's memory, for example, to keep track of which language he has chosen. Session cookies are not stored for a long time on the user's computer, but disappear when the user closes his browser.