当前位置:网站首页>Take you in-depth understanding of cookies
Take you in-depth understanding of cookies
2022-08-05 06:20:00 【lsely】
Take you in-depth understanding of cookies
This article only introduces some basic knowledge of cookies and the components that make up cookies, and does not introduce usage.
What the heck is a cookie?
Cookie, the introduction in Baidu Baike refers to "data stored on the user's local terminal",In human terms, it is similar to a browser's local cache, which is a piece of text that a website uses to identify a user.Generally speaking, when we open a website, the web server of the website will generate an ID information for the user. It can be said that this is the user's network "ID card", and then this "ID card" will be saved locally on the user's computer.If the user logs in to the website again, the web server can read the text and obtain various information about the user. This process is login.

Cookie sending mechanism
In general, whenever we log in to a website for the first time, the web server will send a cookie to the user's local, and in subsequent logins, the user's local cookie will be sent to the web server to verify theirAccount, represented by an image: 
The composition of cookies
Cookies are essentially text data. Generally, this data is encrypted and consists of name, value, and several equivalents used to control the scope of use or valid time of the cookie.
- Name and Value Name/Value: The name and value of the cookie.
- Expires Expires: The expiration date of the cookie.Expriers are divided into two types of storage: session and persistent.Session cookies are stored in the user's memory and are cleared when the browser is launched; persistent cookies are stored on the user's local hard drive and will not expire until the user logs out.Speaking human words is a temporary storage, a long-term storage.
- Scope of use Domain: The scope of use of cookies.
- Security Secure: Whether the cookie uses the Https protocol.
Summary
Cookie is the data (encrypted) that the website uses to identify the user and saved on the user's local area. It is the text data temporarily or permanently saved locally by the user, and generally consists of name, value, validity period, and scope of use.
边栏推荐
- Logical volume creation
- spark source code - task submission process - 5-CoarseGrainedExecutorBackend
- Mina断线重连
- King power volume LinkSLA, realize operations engineer is happy fishing
- 线上问题排查流程
- spark source code - task submission process - 3-ApplicationMaster
- 时间复杂度和空间复杂度
- To TrueNAS PVE through hard disk
- User and user group management, file permission management
- The spark operator - repartition operator
猜你喜欢

What's the point of monitoring the involution of the system?

网络不通?服务丢包?看这篇就够了
![[Paper Intensive Reading] The relationship between Precision-Recall and ROC curves](/img/8f/3c9944db96eef623779a5abe68355b.png)
[Paper Intensive Reading] The relationship between Precision-Recall and ROC curves

markdown editor template

Transport layer protocol (TCP 3-way handshake)

Mongodb查询分析器解析

Growth: IT Operations Trends Report
![[Day8] Commands involved in using LVM to expand](/img/ba/39b81cbcecec9bc54a710ff9dba81a.png)
[Day8] Commands involved in using LVM to expand

【Machine Learning】1 Univariate Linear Regression
![[问题已处理]-jenkins流水线checkout超时](/img/3d/c14276d2b5ce18fc3d1288abb059c0.png)
[问题已处理]-jenkins流水线checkout超时
随机推荐
Transport layer protocol (TCP 3-way handshake)
Spark source code-task submission process-6.2-sparkContext initialization-TaskScheduler task scheduler
云计算——osi七层与TCP\IP协议
从“双卡双待“到”双通“,vivo率先推动DSDA架构落地
智能运维会取代人工运维吗?
运维的高光时刻,从智能化开始
[问题已处理]-jenkins流水线checkout超时
交换机原理
错误类型:反射。ReflectionException:无法设置属性“xxx”的“类”xxx”与价值“xxx”
技术分享杂七杂八技术
Getting Started 05 Using cb() to indicate that the current task is complete
The Servlet to jump to the JSP page, forwarding and redirection
RAID disk array
User and user group management, file permission management
Getting Started Document 07 Staged Output
The idea of commonly used shortcut key
Hugo builds a personal blog
[问题已处理]-虚拟机报错contains a file system with errors check forced
Wechat applet page jump to pass parameters
flink cdc 目前支持Gauss数据库源吗