🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Web Development Beginner

What is Cookie?

A small piece of data stored in the browser by a website to remember user preferences, login state, or tracking information.

Cookies are key-value pairs sent by the server and stored by the browser. They are automatically included in subsequent requests to the same domain. Uses include session management, personalization, and analytics tracking.

Security attributes include HttpOnly (prevents JavaScript access), Secure (HTTPS only), SameSite (prevents CSRF), Domain, Path, and Expires/Max-Age. GDPR requires user consent for non-essential cookies.

Related Terms

CDN (Content Delivery Network)
A distributed network of servers that delivers web content to users from the geographically closest location.
Structured Data (Schema.org)
A standardized vocabulary for marking up web content so search engines can understand and display it as rich results.
AJAX
A technique for making asynchronous HTTP requests from a web page without reloading the entire page.
Content Negotiation
An HTTP mechanism where client and server agree on the best representation of a resource based on format, language, or encoding preferences.
Sitemap XML
An XML file that lists all important URLs on a website, helping search engines discover and crawl content efficiently.
Idempotency
A property where performing an operation multiple times produces the same result as performing it once.
View All Web Development Terms →