๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout 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

Web Caching Strategies
Techniques for storing copies of web resources at various levels to reduce server load, bandwidth, and response times.
Content Negotiation
An HTTP mechanism where client and server agree on the best representation of a resource based on format, language, or encoding preferences.
Lazy Loading
A technique that delays loading non-critical resources until they are needed, improving initial page load performance.
CORS Preflight
An automatic OPTIONS request sent by browsers before certain cross-origin requests to check if the actual request is permitted.
CDN (Content Delivery Network)
A distributed network of servers that delivers web content to users from the geographically closest location.
HTTP/3
The latest HTTP version that uses QUIC instead of TCP, providing faster connections and better performance on unreliable networks.
View All Web Development Terms โ†’