Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

210
Visualizações
What is the difference between cookie authentication and accept cookie

Hello I have a question that I can't seem to find an answer. In web development.

So what is the difference between cookie authentication system when you register/login, your credentials to be stored in a cookie and the pop up box that says - Wants you to accept its cookies. Are these two separated cookies? I am confused.

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

A server can send a Set-Cookie response header to ask the browser to store some data in a cookie.

This is often a token (such as a session ID or a JWT) which marks the user as being logged into the site.

It can also be a tracking token which is used to track your activity across different sites for, for example, marketing purposes.

(Or it can be various other things, but those are the most common).


Some browsers can be configured to prompt the user before a cookie is stored. This can display a built-in prompt to confirm it. (I'm not sure if any support remains in modern browsers, cookies are so common that prompts would be very intrusive, but this is the config for IE6:)

IE6 privacy settings


Some countries have regulations which require the user grant permission before they are tracked. This is often conflated with cookies (and is often called "cookie laws") but the regulations apply to tracking not to the technology used to do the tracking.

Sites will therefore often display a notice asking the user to accept the cookies. They very frequently use dark patterns to make it annoying to refuse and easy to accept by accident.

Here is Stackoverflow's example. You can see that you can accept the cookies with one click or go to a customise page (one click) and then confirm the default choices (a second click) or accidentality click the "accept all cookies" button next to it).

Stackoverflow cookie permissions Stackoverflow customise cookie permissions

about 4 years ago · Juan Pablo Isaza Relatório

0

Credentials are not stored in cookies. Cookie store a session id that is used to retrieve session id.

But cookies can also be used for many others purposes.

But in fact that is the same.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda