what are cookies

云罗郡主
Release: 2022-01-12 15:43:38
Original
86500 people have browsed it

What are cookies? In life, we often hear about cookies, but many people don’t know what cookies mean. The following php Chinese website will summarize it for you.

what are cookies

1: What does cookies mean

Cookies are a file stored on the computer. When we use the computer When browsing the web, the server will generate a certificate and return it to our computer. This certificate is a cookie. Generally, a cookie is a file written by the server to the client. We can also call it browser cache.

2: What are the uses of cookies?

Generally, the website saves the request through cookies, and displays specific content based on the user, or it can To store passwords, the cookie file is based on the browser and is supported by the browser. We can set a block in the browser, so that the server cannot write the cookie. Now many browsers can support cookies. Sometimes, when accessing a website, it must support cookies, otherwise the browser will not be able to access it.

3: How cookies work

what are cookies

If we want to visit the website, we first send it to the server For a request, the server will generate a cookie and return it to the user based on the browser number. The next time the user visits, the local cookie file plus the URL will be sent to the server. The server will use this to determine the user's status.

4: How about the security of Cookies

Currently, Cookies themselves will not cause harm. Cookies are only used to store passwords and texts that customers are willing to store, some of which are more important. The information does not need to be saved.

The above is a complete introduction to what cookies are. If you want to know more about cookies, please pay attention to the php Chinese website.

The above is the detailed content of what are cookies. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template