+ 7

How do cookie policy works?

I know what cookie is in tech world but don't know how it works? So please let me know is it only AI or something else

23rd Oct 2019, 12:46 PM
Kratika Soni
1 Answer
+ 2
It's just a bit of text. When you visit a website and for example log in, the site you are visiting sends back a HTTP resonse. In the HTTP headers there will be a Set-Cookie: session=ABC123;lang=en for example. From then on, everytime you visit that website, your browser will send a HTTP header in the HTTP request: Cookie: session=ABC123;lang=en And the server can use it to identify you (to make sure you stay logged in). That's all there is to it.
23rd Oct 2019, 1:51 PM
Schindlabua
Schindlabua - avatar