What are cookies
Cookies are small text files that are placed on your computer by website that you visit. They are widely used in order to remember some useful information such as information related to login which makes the websites work more efficiently and can contribute to ease of use when navigating a website.
The main reason behind why we use cookie is to maintain the session when you navigate between cross origin subdomain. This helps us to log into secure area of our website.
What are the different types of cookies that we use
We are using persistent cookie which is also called permanent cookie. This cookie has a expiration timestamp and the cookie which is used by Happay expires or get deleted in any of these cases /when the user logout/ get expire after 24hrs / when the session expires.