Do we need cookies
Web browsing is a daily routine for us. The most common thing we notice after opening the website is a popup box asking us to accept cookies. We click Yes and move on. But, whats happening when we click Yes. Lets understand this
Cookies are small data files which are stored on browser. Cookies enhances User Experience by remembering preferences, interactions for smoother navigation.
Session Cookies and Persistent Cookies are two types of cookies. Session Cookies are temporary cookies, which gets deleted automatically after closing browser. Session Cookies are commonly used in e-commerce sites to store items in cart and to remember page navigations.
On the other hand, Persistent cookies are stored locally on computer and will be auto-deleted only after their expiration period. These cookies are usually used to remember login details, webpage preferences and others. Its also possible to delete the persistent cookies before the expiration. So, the lifespan of Persistent cookies is more when compared to Session cookies.
Cookies also help in managing ads such as limiting the number of times an ad is shown or ensuing that ad is shown only once