Dolly Jain and Anushka Goel are students at Dr Br Ambedkar National Law University Sonipat
Cookies are described as the memory of a website. They were designed to address the internet’s inability to remember users’ activities across websites. What began as a tool for maintaining continuity has evolved into a technology increasingly used to monitor behaviour, construct user profiles and facilitate targeted advertising. This article argues that the regulatory problem lies not in the use of cookies themselves, but in the failure to distinguish cookies necessary for digital functionality from those used for behavioural tracking and surveillance. It suggests that India should move to a model based on cookie classification, meaningful consent and Privacy by Design (PbD).
Keywords: Cookies, Consent, Surveillance Economy, Post Cookie Internet, Privacy by Design (PbD)
Evolution of cookies
Cookies were designed by Lou Montulli in 1994 to solve a fundamental limitation, i.e. the stateless nature of the internet. The Hyper Text Transfer Protocol (HTTP) had no memory, and each page request was isolated from the previous one. Cookies were then introduced to allow websites recognise returning users and maintain continuity across sessions.
They were initially used for functional purposes, but they gradually became tools for tracking users across websites. Advertisers embedded trackers across platforms, to collect browsing histories, device information, and behavioural patterns, enabling creation of detailed digital profiles and bringing such practices within the scope of data protection law.
This evolution is also reflected in the technical standardisation documents governing cookies, called Request for Comments (RFC) published by Internet Engineering Task force (IETF). The earliest RFC 2109, addressed web functionality and security, while subsequent standards particularly the RFC 6265 relaxed these protections and enabled large-scale third-party tracking.
Cookies aren’t inherently harmful; some are essential for functioning of the digital services. The concern is there use for monitoring and profiling to facilitate targeted advertising. The central issue is whether the law can classify functionality form intrusive tracking and regulate each by its privacy risk.
The Categorisation of Cookies: Essential vs. Non-Essential
Navigating the complexities of data privacy, the following table differentiates, between essential and non-essential cookies.
| Category | Cookie Type | Primary Purpose | Examples |
| Essential | Session Cookies | Track activity during a single session and is deleted upon closing the browser. | Used for login status and shopping cart contents. |
| Security Cookies | Protect websites and users against unauthorised access. | Used for secure authentication sessions. | |
| Network Management | Ensure the reliable delivery of website content and proper functioning. | Used for balancing load between servers, maintaining session continuity. | |
| Non-Essential | Third-Party Cookies | Set by outside domains to analyse behaviour and serve advertisements. | Used for Browsing history, ad-interaction data, and visit frequency. |
| Personalisation and Preference cookies | Remember users’ preferences to personalise content. | Used for remembering preferred themes, language settings or content preferences. |
Regulating essential and non-essential cookies alike may restrict legitimate functionality or permit unnecessary surveillance, so regulation must depend upon their functionality, purpose and impact.
Cookie necessity: from functionality to surveillance
Cookies began as tools for assistance but have become central to surveillance and advertising. In behavioural advertising, cookies collect information about user’ activities across websites and services. This is why a product viewed on one site appears as an advertisement on another. The commercial significance of tracking technologies is evident in advertising models of companies such as Google and Meta. These models allow platforms and advertisers to derive commercial value from behavioural data through targeted advertising and algorithmic prediction. The distinction is necessary to separate essential cookies for website functionality from those being used for behavioural tracking and commercial profiling.
These developments demonstrate the need to distinguish between essential and non-essential cookies. Essential cookies serve functions such as authentication, session management and user preferences. Whereas, non-essential cookies can be used for tracking, collection of data; extending beyond the necessary functioning of a website.
Digital autonomy embeds privacy into the architectural design of the internet through Privacy by Design (PbD). It means integrating privacy at every stage of data lifecycle rather than treating as an obligation after data has already been collected. This requires a legal framework capable of determining when tracking is permissible, raising the question of how legal system across the world between individual privacy and commercial interest.
Legal Implications: Between Consent and Coercion
Global cookie regulation sits at the crossroads of privacy and commerce, producing three divergent models. The European Union (EU) follows opt-in model, i.e., free and informed consent is must for non-essential cookies under GDPR (General Data Protection Regulation) 2016 and ePrivacy Directive. However, manipulation still exists, for instance, Google was fined €325 million by the French CNIL (Commission Nationale de l’Informatique et des Libertés) in 2025 for consent mechanisms that made it easier to accept than reject.
In contrast, the US system is entirely fragmented system, but essentially an opt-out system, i.e, data collection happens by default. Over 20 states have adopted privacy legislation, but most allow cookies by default, placing a burden on the users to opt out. California has a stronger legal framework, prescribing punishment of USD 7500 per intentional violation.
Asia Pacific present different consent philosophies. China’s PIPL (Personal Information Protection Law) mandates opt-in consent for behavioural advertising, with penalties up to RMB 50 million or 5% of annual income. The comparative landscape demonstrates key lessons for India. The consent-based models in EU emphasise on prior consent but reveals enforcement gaps. US highlights the risks of fragmented opt-out systems, and China’s stricter consent requirements underscore the need for a clear, enforceable, function-based cookie-framework. This comparative analysis provides a basis for examining India’s emerging framework and whether they adequately addresses the distinction between essential and non-essential cookies.
India’s Regulatory Framework: A Rare Opportunity
India entered the global data protection regime through the enactment of DPDPA in 2023 (Digital Personal Data Protection Act) and Rules in 2025. However, the framework adopts a staggered implementation as it will be fully functional in May 2027. It is an important step towards protecting digital personal data, but contains significant regulatory gaps in addressing issues relating to cookie tracking. While SPDI (Sensitive Personal Data Information) Rules, 2011 introduced consent requirements for collection of sensitive personal data but made no distinction between essential and non-essential cookies. The earliest recognition can be derived from PDB (Personal Data Protection) Bill, 2019, but its transition to DPDPA represents a shift in regulatory design and highlights erosion of protections along many fronts.
The 2019 Bill explicitly linked between profiling with harm and built in proportionality. In contrast DPDPA 2023 Act broadened the exemptions related to behavioural profiling through “legitimate use” Section 4 of the DPDPA. It permits processing on the basis of consent or for certain legitimate uses, and Section 7 identifies circumstances where processing may take place without consent. The Data Protection Authority under the 2019 Bill was independent, but the newly formed Board is closer to executive control, raising questions about enforcement independence against powerful technology companies.
Two regulatory gaps exacerbate the weakness in legislation. Firstly, “deemed consent” allows for large scale behavioural tracking under the pretext of “reasonable purposes”. Secondly, the Act contains no explicit right to object to profiling or targeted advertising. Cookie-based profiling use trackers for profit-making by processing behavioural information often without users’ knowledge. Unless these gaps are addressed, such profiling will continue largely unchecked.
Way forward: Building a Post-Cookie Future
India’s transition to accountable use of cookies requires reforms to the current regulatory frameworks. Firstly, inclusion of cookies in legal framework with clear statutory distinction between essential and non-essential cookies. Essential cookies remain permissible, while non-essential cookies be subjected to stricter requirements. Without such classification businesses may classify certain tracking technologies as “necessary cookies” for service delivery.
Secondly, consent for non-essential cookies must be meaningful rather than formal. Cookie banners should provide ‘Accept’, ‘Reject’ and ‘Customise’ with equal prominence, refusal should not be harder than acceptance and dark patterns must be outlawed.
Thirdly, improving banners alone will not resolve consent fatigue. A browser-based system that allows users to set centralised preferences which accepted once, is respected universally. This will erase repeated banner interactions on every website visit giving individuals greater control over their choices.
Finally, privacy should not depend entirely on repeated individual decisions; it should be incorporated into the architecture through privacy by design (PbD). For cookie-based tracking, this means minimising data collection, limiting to necessary function and encouraging privacy preserving alternatives to cross-site tracking, such as contextual advertising, server-side authentication, and zero-party data systems.
India has a rare opportunity, to develop a framework in which privacy is not treated as an additional compliance layer. Cookies need not disappear, but their use as instruments of surveillance must change. Regulating tracking would preserve the internet’s functionality while protecting users. ‘The future of the internet should not be one that remembers everything about its users, but one that remembers only what is necessary for its functioning.’
