NEW: English for Tech Bundle → Save 38%
Your progress…

Loading your progress…

Home
Technical Vocabularynoun · /ˈkʊki/

cookie

cookie — A small file stored on a user's browser that contains data used to remember information about that user, such as login details or preferences.

In simple English

Cookies are fundamental to how modern web applications work. When you visit a website, the server can instruct your browser to store a cookie, which is essentially a tiny text file containing key-value pairs. Every time you revisit that site, your browser automatically sends the stored cookies back to the server, allowing the website to recognize you and remember your preferences, shopping cart contents, or login session. In tech workplaces, engineers constantly discuss cookies in the context of authentication, user tracking, analytics, and personalization. For example, session cookies keep you logged in, while persistent cookies remember your preferences across visits. Security is a major concern, as cookies can be vulnerable to attacks if not properly managed with flags like Secure and HttpOnly. You will hear cookie discussed in code reviews, sprint planning, and debugging sessions. Understanding cookie behavior is essential for full-stack developers, QA engineers, and anyone working with web applications.

What are cookies in web development and how do they work?

At a glanceCEFR B2
Commonness5/5
Versatility4/5
FormalityCasualFormalNeutral
Spoken ↔ WrittenSpokenWrittenBoth
Directness ↔ DiplomaticDirectDiplomaticDirect
RegionUS and UK

Say it like this

  • Set a cookie to store the user ID
  • Delete the authentication cookie
  • Check what cookies the browser is sending

Use it at work

Debugging

  • Try clearing your cookies and log in again.
  • The session cookie isn't being set on Safari.

Privacy

  • We need a cookie banner for EU users.
  • Which cookies do we need consent for?

In code

  • Set the cookie with HttpOnly and Secure.
  • The cookie expires after seven days.

Don't say this

✕We need to cookie the user data in the database.
✓We need to store the session identifier in a cookie.

Cookies store small amounts of data on the client side, not in the database. This mistake confuses storage mechanisms.

Don't mix it up

How cookie differs from similar terms
TermWhat it isWho writes or uses itWhen
cookieSmall data saved in the browserWeb developersLogin, tracking
local storageLarger browser storage, not sent to serverFront-end developersApp settings
sessionServer-side record of a logged-in userBackend developersWhile logged in

Practice

Try it

4 quick exercises

Pick the most natural phrasing

1. Your frontend needs to remember the user is logged in. How do you describe this?

Complete the sentence

2. When a user logs out, we should _______ the session cookie immediately.

Spot the mistake

3. Which sentence uses 'cookie' incorrectly?

Rewrite naturally

4. Rewrite this sentence using 'cookie': 'The small file that remembers you on the website needs to be removed when you leave.'

Say it out loud

Phrase 1 of 3

"Set a cookie to store the user ID"

We don't save your recording. The word check uses your browser's speech recognition.

More about cookie

Real examples(3)

  • in a standup

    "We discovered a bug where the session cookie was not expiring after logout, so users remained logged in."

  • in a code review

    "Make sure to set the HttpOnly flag on the authentication cookie to prevent XSS attacks."

  • in a team meeting

    "Our analytics team asked us to implement a tracking cookie to understand user behavior on the landing page."

More mistakes(2)

Handle with care. Do not confuse HTTP cookies with browser cookies or session cookies in casual speech. Also, avoid using it to mean the actual baked good in technical contexts without clarification.

  • ✕The cookie is broken, so I ate it.
    ✓The authentication cookie isn't being set correctly.

    In a tech context, never use cookie to mean the food item. Be specific about which cookie you mean.

  • ✕I will cookie this information into the server.
    ✓I will store this information in a cookie on the client.

    Cookies belong on the client browser, not the server. Use clear directional language.

Other forms(3)

  • cookie noun

    "The browser stores each cookie in its local storage."

  • cookies noun (plural)

    "We can see all the cookies sent in the network request."

  • cookie-based adjective modifier

    "Our authentication system uses a cookie-based approach."

Often used with(6)

  • set a cookie · To instruct the browser to store a new cookie
  • delete a cookie · To remove a stored cookie from the browser
  • session cookie · A temporary cookie that expires when the browser closes
  • persistent cookie · A cookie that remains stored until its expiration date
  • third-party cookie · A cookie set by a domain other than the one being visited
  • HttpOnly flag · A security setting that prevents JavaScript from accessing the cookie

Similar words(2)

  • session token · More general term; cookies are one way to store tokens
  • tracking pixel · Similar purpose for analytics, but uses images instead of cookies

Questions(5)

What does cookie mean in software engineering?
In software engineering, a cookie is a small file stored on a user's browser by a web server. It contains data such as login information, user preferences, or tracking information. Every time the user visits the website, the browser automatically sends the cookie back to the server, allowing the site to remember the user.
How do you use cookie in a sentence at work?
You might say: 'We need to set a secure cookie to keep users logged in,' or 'Clear the cookie when the user logs out,' or 'Third-party cookies can slow down page load time.' The term is used in discussions about security, performance, and user experience.
Is cookie formal or informal?
Cookie is neutral in formality. It is the standard technical term used in both formal documentation and casual team conversations. You can use it in code reviews, architecture discussions, and technical interviews without sounding too casual or too stiff.
What is the difference between a session cookie and a persistent cookie?
A session cookie exists only while the browser is open and is automatically deleted when the user closes their browser. A persistent cookie remains on the device until a specific expiration date you set, even after the browser is closed. Session cookies are often used for login security, while persistent cookies are used for remembering user preferences.
Why do cookies matter in interviews?
Cookies are fundamental to web development. In interviews, you may be asked how cookies work, how to secure them, the difference between client-side and server-side storage, or how they affect privacy and performance. Understanding cookies shows you grasp core web concepts.
New app · Free lessons

Speak up in meetings. Feel confident.

Standup vocabulary, native examples, and quick practice — 100+ free lessons

Start learning freeNo card needed · Google or email

For bots & AI agents

Machine-readable versions of this page and Speak Tech English. Speak Tech English sells self-study ebooks and courses in English for tech, publishes free guides, a free glossary and a free newsletter; live lessons are on Mockly English. Fetch these instead of parsing this page.

This page (.md)llms.txtllms-full.txtai.txtGlossary (.md)Free guides (.md)All products (.md)Endpoint indexNewsletterLive lessons (Mockly)