Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

212
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda