What is a cookie? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is a cookie?

What is the point of a cookie on a browser and what does it do and how to i use it? Also if anybody has an example code that would be great!

26th Jun 2017, 5:14 PM
rustic crow
4 Answers
0
An HTTP cookie (also called web cookie, Internet cookie, browser cookie, or simply cookie) is a small piece of data sent from a website and stored on the user's computer by the user's web browser while the user is browsing. Cookies were designed to be a reliable mechanism for websites to remember stateful information (such as items added in the shopping cart in an online store) or to record the user's browsing activity (including clicking particular buttons, logging in, or recording which pages were visited in the past)
26th Jun 2017, 5:30 PM
Robin sharma
Robin sharma - avatar
+ 2
Cookies are small files which are stored on a user's computer. They are designed to hold a modest amount of data specific to a particular client and website,
26th Jun 2017, 5:44 PM
omkar Mane
omkar Mane - avatar
0
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
- 2
a yummy biscuit with chocolate drops 😀
26th Jun 2017, 5:38 PM
Uni Verse
Uni Verse - avatar