| 1. |
What is a cookie and what does it do? |
|
Answer» A cookie is a small text file, which is stored in the client browser. When a client visits any website, through their browser and logs in to the site or FILLS some kind of a form, this data will be passed BACK to the client from the server, with some unique id which identifies the user computer. Now, whenever the user visits this website the saved data like username and password will be auto filled. And the user can also be given a unique experience like adding their name in login. The modern-day cookies are also known as HTTP cookies as they are used for internet browsing. It GOT its name from the Magic Cookies, which were before the internet era and used to store login information to a database system. There are mainly two types of cookies -
|
|