GATE : Computer Science and IT

Which one of the following statements is NOT correct about HTTP cookies? , Which one of the following statements is NOT correct about HTTP cookies?

Which one of the following statements is NOT correct about HTTP cookies?




Solution
A. A cookie is a piece of code that has the potential to compromise the security of an Internet user



Explanation

Cookies are not piece of code, they are just strings typically in the form of key value pairs.

Cookies are data, stored in small text files, on your computer.

When a web server has sent a web page to a browser, the connection is shut down, and the server forgets everything about the user.

Cookies were invented to solve the problem "how to remember information about the user':

When a user visits a web page, his name can be stored in a cookie.

Next time the user visits the page, the cookie "remembers" his name.

CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Exam Quiz Website development Company in Allahabad