How cookies work?

前端 未结 6 1797
北荒
北荒 2020-11-29 04:35

I wanted to know the interactions of a browser (i.e. Firefox ) and a website.

When I submit my user name and password to the login form, what happens? I think that we

6条回答
  •  一生所求
    2020-11-29 04:54

    Cookies are small data packets that the Web Pages load on to the browser for various purposes.

    Every time you re-visit a URL, the browser sends back a tiny package of this information back to the server which detects that you've returned to the page.

    • Cookies are the reasons that keeps you logged into sites so that you don't have to enter ID and password every time you visit the website.
    • Webmasters can use these cookies for monitoring the activity of Internet users.
    • Some sites use third-party cookie to track your Web habits for marketing purposes.

提交回复
热议问题