Cookies API
E856242
The Cookies API is a web browser mechanism that allows websites to store, send, and manage small pieces of data associated with user sessions and preferences via HTTP cookies.
All labels observed (1)
| Label | Occurrences |
|---|---|
| Cookies API canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T10329502 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: Cookies API Context triple: [Web Storage API, relatedConcept, Cookies API]
-
A.
Cookie
Cookie is the nickname of Cookie Johnson, an American businesswoman, philanthropist, and the wife of NBA legend Magic Johnson.
-
B.
Session API
Session API is a core Jakarta Mail component that provides configuration and management of mail sessions for sending and receiving email in Java applications.
-
C.
Web Storage API
The Web Storage API is a web platform feature that allows websites to store key-value data in a user's browser more persistently and securely than traditional cookies, typically via localStorage and sessionStorage.
-
D.
Permissions API specification
The Permissions API specification is a web standard that defines a unified way for web applications to query and manage user permission states for powerful browser features like notifications, geolocation, and camera access.
-
E.
Permissions API
The Permissions API is a web platform interface that allows developers to query and manage user permission states (such as notifications, geolocation, and camera access) in a standardized way across browsers.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: Cookies API Target entity description: The Cookies API is a web browser mechanism that allows websites to store, send, and manage small pieces of data associated with user sessions and preferences via HTTP cookies.
-
A.
Cookie
Cookie is the nickname of Cookie Johnson, an American businesswoman, philanthropist, and the wife of NBA legend Magic Johnson.
-
B.
Session API
Session API is a core Jakarta Mail component that provides configuration and management of mail sessions for sending and receiving email in Java applications.
-
C.
Web Storage API
The Web Storage API is a web platform feature that allows websites to store key-value data in a user's browser more persistently and securely than traditional cookies, typically via localStorage and sessionStorage.
-
D.
Permissions API specification
The Permissions API specification is a web standard that defines a unified way for web applications to query and manage user permission states for powerful browser features like notifications, geolocation, and camera access.
-
E.
Permissions API
The Permissions API is a web platform interface that allows developers to query and manage user permission states (such as notifications, geolocation, and camera access) in a standardized way across browsers.
- F. None of above. chosen
Statements (50)
| Predicate | Object |
|---|---|
| instanceOf |
Web browser API
ⓘ
Web technology ⓘ |
| availableIn | JavaScript NERFINISHED ⓘ |
| bestPractice |
avoid storing sensitive data directly in cookies
ⓘ
use HttpOnly flag to protect cookies from JavaScript access ⓘ use SameSite attribute to mitigate CSRF ⓘ use Secure flag for HTTPS-only cookies ⓘ |
| constrainedBy |
browser cookie size limits
ⓘ
per-domain cookie count limits ⓘ privacy regulations such as GDPR ⓘ same-origin policy (for access from scripts) ⓘ |
| dataStoredAs |
name-value pairs
ⓘ
string values ⓘ |
| exposesInterface | document.cookie ⓘ |
| lifecycle |
persistent cookies
ⓘ
session cookies ⓘ |
| operatesIn | web browsers ⓘ |
| operatesOver | HTTP NERFINISHED ⓘ |
| relatedTo |
Fetch API (via cookie handling in requests)
NERFINISHED
ⓘ
IndexedDB API NERFINISHED ⓘ Web Storage API NERFINISHED ⓘ |
| securityConcern |
cross-site request forgery (CSRF)
ⓘ
cross-site scripting (XSS) exploitation of non-HttpOnly cookies ⓘ session hijacking ⓘ |
| standardizedIn | HTTP State Management Mechanism specifications NERFINISHED ⓘ |
| supportsAttribute |
Domain
GENERATED
ⓘ
Expires GENERATED ⓘ HttpOnly GENERATED ⓘ Max-Age GENERATED ⓘ Path GENERATED ⓘ SameSite GENERATED ⓘ Secure GENERATED ⓘ |
| supportsOperation |
create cookie
ⓘ
delete cookie ⓘ read cookie ⓘ update cookie ⓘ |
| technologyType |
HTTP state management mechanism
ⓘ
client-side storage mechanism ⓘ |
| usedFor |
associating data with user sessions
ⓘ
basic analytics and tracking ⓘ implementing login sessions ⓘ managing HTTP cookies ⓘ personalization of web content ⓘ reading cookie data from HTTP responses ⓘ remembering user settings ⓘ sending cookie data with HTTP requests ⓘ session management ⓘ storing small pieces of data in the browser ⓘ storing user preferences ⓘ tracking user state between page loads ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: Cookies API Description of subject: The Cookies API is a web browser mechanism that allows websites to store, send, and manage small pieces of data associated with user sessions and preferences via HTTP cookies.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.