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

168
Vistas
Security, Cart item information in Cookie

Use javascript.

Some website refresh will not empty the items in cart.

I know I how to set data to cookies.

But users could easily change that data in client, so cart content could be easily destroyed.

That may send incorrect data to server.

How to avoid this situation?

I found shop site always have some strategy to handle that. They never stored clear information in

cookies. They even stop site if some change in cookie.

Do any term or steps about this?

I don't have much basic knowledge about this, I don't know where I could start this.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Typically, the way to transfer data from the client to the server in a secure way is using a JWT Token - this token is signed and if tampered in the client will be rejected/unprocessed by the server.

This token is often stored in a cookie.

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