01What Is a Cookie?
Cookies are small text files created on the device by a website, containing data in name-value format. Through cookies, the visited website can store information on the device and use it on subsequent visits.
A session cookie expires when the browser is closed. A persistent cookie remains on the hard disk for a long time or indefinitely.