What Is JavaScript Cookies? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What Is JavaScript Cookies?

26th Feb 2017, 1:58 PM
Nirmal Kakati
Nirmal Kakati - avatar
4 Answers
+ 5
They are tools that we deploy on a user's device for gaining required and necessary information about them
26th Feb 2017, 4:38 PM
Chirag Bhansali
Chirag Bhansali - avatar
+ 5
It's a way of storing data on client side... You can handle them ( read/write ) with JS, but this was originaly designed to be used on server side, so it's more 'Http cookies' than 'JavaScript Cookies' ;) As you tagged 'web-storage' to your question, I guess you are asking that in this context: web-storage is a new way provided by Html5 to store data on user side too, but specially designed for Html/JS and almost with capabilities more adapted to todays capacities in term of computers memory and so on... There are not too easily to be used on server side, but with technologies like Ajax, you can easily communicate whatever you want between client and server, if you don't continue to use cookies for this purpose.
26th Feb 2017, 5:18 PM
visph
visph - avatar
+ 1
Cookies are files created by websites you visit. They make your online experience easier by saving your browsing information
26th Oct 2017, 5:24 PM
#RahulVerma
#RahulVerma - avatar
0
Thanks for the Answers Visph & Chirag
26th Feb 2017, 7:07 PM
Nirmal Kakati
Nirmal Kakati - avatar