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

217
Visualizações
Storing data in cookies,client side verification

I have created a registration form.i have set the cookies,now my question is, when i click on submit button,all the details which user has given has to be stored in the next page using cookies.how do i proceed.

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

0

You can handle form submit and store all the details which user has given into cookies.

forms.addEventListener("submit", function() {
  // Handle your data and store them in cookies then you can use them in next page
});

Hope you only use this for learning or development purposes, this is not a good way to handle a registration form!

about 4 years ago · Juan Pablo Isaza Relatório

0

Rather than cookies I prefer localStorage. you can just store user token in localStorage using setItem() method and delete data for logouts using removeItem(). If you want to see if token is still there in localStorage you use getItem() method.

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