当前位置:网站首页>cookie、session、token
cookie、session、token
2022-06-25 23:29:00 【orangeox】
cookie、session、token
session A large amount of data in the mechanism exists in the server , Resulting in increased server pressure , And in the case of multiple servers , Only the receiving server has the name of the current user sessionID, Other servers do not , It's going to be a big problem .
token Signature verification to identify the user's identity , A large amount of data will not be stored on the server . Reduce the pressure on the server .
When different users access the server, they will be in session Object to store key value pairs ,“ key ” Used to store and open the user information “ The key ”, After successful login ,“ The key ” adopt cookie Return to the client , Client store as sessionId Recorded in the cookie in . When the client accesses again , It will be carried by default cookie Medium sessionId To implement the session mechanism .
session Is based on cookie Of .
Reference resources :
https://blog.csdn.net/m0_46251547/article/details/123456692
边栏推荐
- Actual combat: how to quickly change font color in typera (blog sharing - perfect) -2022.6.25 (solved)
- Some points to pay attention to when closing mongodb services (as well as related commands when opening)
- 信息学奥赛一本通 1353:表达式括号匹配(stack) | 洛谷 P1739 表达式括号匹配
- CDN加速是什么
- Baidu: in 2022, the top ten hot spots will rise and the profession will be released. There is no suspense about the first place!
- CAD中图纸比较功能怎么用
- How to add cartoon characters to the blog park?
- 【EOSIO】EOS/WAX签名错误 is_canonical( c ): signature is not canonical 问题
- Flex & Bison 开始
- Idea auto generator generates constructor get/set methods, etc
猜你喜欢

建立自己的网站(15)

一位博士在华为的22年

Utilisation de la classe Ping d'Unity

Ble Low Power Bluetooth networking process and Bluetooth role introduction

漏刻有时API接口实战开发系列(13):小鹅通云服务PHP-API二维数组传参解决方案

String deformation (string case switching and realization)

Sword finger offer 46 Translate numbers to strings (DP)

Oracle -- table operation

Oracle - getting started

The applet draws a simple pie chart
随机推荐
RK3568+鸿蒙工控板工业网关视频网关解决方案
LM small programmable controller software (based on CoDeSys) note XVII: PTO pulse function block
The sum of logarithms in group 52--e of Niuke Xiaobai monthly race (two points)
[2023 proofreading and bidding questions] Part 1: Measurement Technology FPGA post (roughly analytical version)
Idea FAQ collection
Oracle -- table operation
Comp2913 database
Core points of assembly language
Oracle - getting started
App new function launch
New network security competition of the secondary vocational group in 2022
Live800在线客服系统:跨越时空做生意,从每次互动开始
【无标题】打开一个项目连接,无法正常显示时,ping一下ip
#24class静态成员
pdm导入vscode的实现方式
Why is BeanUtils not recommended?
The first public available pytorch version alphafold2 is reproduced, and Columbia University is open source openfold, with more than 1000 stars
How to solve the problem of SQL?
To solve the incompatibility between VM and device/credential guard, an effective solution for the whole network
Pycharm student's qualification expires, prompting no suitable licenses associated with account solution