Using HTML5, websites can store data on user's computers .Is this secure and faster than JavaScript cookies?? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Using HTML5, websites can store data on user's computers .Is this secure and faster than JavaScript cookies??

19th Jul 2018, 5:23 AM
sandeep kumar
sandeep kumar - avatar
2 Respuestas
+ 1
A javascript cookie is a string that is given a removal date and you can only store one. It is passed to JS and the server. localStorage however only stores a string with no removal date and does not send to the server. It is great for front-end saved data.
20th Jul 2018, 12:11 PM
Lil Taco
Lil Taco - avatar
0
thanks boss...
20th Jul 2018, 1:17 PM
sandeep kumar
sandeep kumar - avatar