Cookies are files sent by Web servers to Web browsers and stored there.The information is sent back to the server every time the browser requests the page. This allows us to track Web browsers. There are two types of cookies: session and persistent. Session cookies are deleted once you close your browser. Persistent cookies stay in your browser until you delete them or they reach their expiry date.