Definition
A cookie is a small piece of data a server asks the browser to store and send back on later requests. Session cookies vanish when the browser closes, persistent cookies last longer, and first-party and third-party cookies differ by who sets them.
Detailed Explanation
Cookies enable carts, logins and analytics, and third-party cookies power cross-site ad tracking, which browsers increasingly block. Privacy rules push sites toward consent banners and first-party data.
Nepal Context
Nepali stores use cookies for carts and remarketing pixels; transparency in the privacy notice builds trust.
Key Takeaways
- Stores state in the browser.
- First-party vs third-party matter for privacy.
- Consent and first-party data are the future.


