🎁 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

Idempotency
A property where performing an operation multiple times produces the same result as performing it once.
Progressive Web App (PWA)
A web application that uses modern web capabilities to deliver app-like experiences with offline support and push notifications.
Static Site Generator (SSG)
A tool that generates a complete static HTML website from templates and content at build time, requiring no server-side processing.
DOM (Document Object Model)
A programming interface for HTML documents that represents the page structure as a tree of objects that can be manipulated with JavaScript.
AJAX
A technique for making asynchronous HTTP requests from a web page without reloading the entire page.
Web Components
A set of browser-native APIs for creating reusable, encapsulated custom HTML elements with their own styling and behavior.
View All Web Development Terms →