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

What is cookies ?


20th May 2017, 5:26 PM
Salah Ayoob
Salah Ayoob - avatar
13 Answers
+ 22
Whenever we send a request from a browser to the server... The server can infact send some data back to the browser & that data send to the browser, we can store it in the "cookies".... Cookies are the temporary file present in your browser, an capable to store information send by the server..... The cookies can store all kind of data, that is send by the server after processing it, return it back to the browser.... Based on the life length of the cookies, it is of 2 types: 1)Temporary Cookies - This will expire, once we close the browser. 2) Permanent Cookies - This can be retained for a particular period of time, even after the browser is closed. This may help you coder......
20th May 2017, 6:04 PM
Gings - avatar
+ 19
@Nikolay @Manual You guys blown my cover. I set up the traps and was lurking to see if anyone brought out cookies for demonstration so my pigeons could rob them. Anyways, @Salah @Gings and @Munish have the correct answers.
21st May 2017, 2:03 AM
Hatsy Rei
Hatsy Rei - avatar
+ 17
Sorry, this is nor related, but I just can't resist: Someone mentioned cookies and Hatsy did not reply, what is wrong with the world today?!?! 😂😂😂
20th May 2017, 8:09 PM
Nikolay Nachev
Nikolay Nachev - avatar
+ 12
cookies are used to store data in users system. For example when you visit a site sometimes it asks for your preference now that kind of information is only useful to you so it may be stored in your system in the form of cookie. Cookies are like session but store data in users system rather than on server. NOTE: In standard practice we should avoid to store sensitive information in cookies.
20th May 2017, 5:57 PM
Munish - avatar
+ 9
Cookies are tasty text file snacks in PHP that will store data on a browser. Often used to identify users.
20th May 2017, 5:51 PM
Rrestoring faith
Rrestoring faith - avatar
+ 8
@Nikolay I am with you, I thought Hatsy would post here too.
20th May 2017, 11:46 PM
Manual - avatar
+ 7
A type of data that websites store on your computer.
20th May 2017, 5:49 PM
Manual - avatar
+ 6
So cookies, much wow!
20th May 2017, 10:54 PM
Derek Raimann
Derek Raimann - avatar
+ 4
I am still waiting for my OREO Cookies that Tashi promised me........ so sad ..... I am very hungry and I almost drunk all the milk!
22nd May 2017, 10:21 AM
🇺🇸 Anatoli🇧🇪🇪🇺 ,
🇺🇸 Anatoli🇧🇪🇪🇺 , - avatar
+ 3
The thing in my stomach
21st May 2017, 3:04 AM
+ 2
23rd Aug 2017, 1:02 PM
Salah Ayoob
Salah Ayoob - 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:26 PM
#RahulVerma - avatar
thanks all
16th Aug 2017, 10:35 PM
Salah Ayoob
Salah Ayoob - avatar