当前位置:网站首页>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
边栏推荐
- Comp2913 database
- Actual combat: how to quickly change font color in typera (blog sharing - perfect) -2022.6.25 (solved)
- Multithreaded learning 1
- Flex & Bison 开始
- ES6 - numerical extension and object extension
- [opencv450 samples] read the image path list and maintain the proportional display
- Jupiter notebook common shortcut keys
- 小程序-视图与逻辑
- 论文笔记: 多标签学习 MSWL
- RepOptimizer: 其实是RepVGG2
猜你喜欢
Unity的Ping类使用
Idea auto generator generates constructor get/set methods, etc
UE4_UE5结合offline voice recognition插件做语音识别功能
Why is the frame rate calculated by opencv wrong?
How to use JMeter for interface testing
Oracle - getting started
记一次beego通过go get命令后找不到bee.exe的坑
Problem recording and thinking
Efr32bg22 ble module (low power Bluetooth communication module) at command test
我的vscode
随机推荐
Windows安装Redis及简单使用
ES6 const constants and array deconstruction
Xinchida nd04 nd04c nrf52832 (52810) ble module (low power Bluetooth communication module) at command test
我的vscode
提问的智慧?如何提问?
Flex & Bison Start
Problem recording and thinking
CDN加速是什么
信息学奥赛一本通 1353:表达式括号匹配(stack) | 洛谷 P1739 表达式括号匹配
Baidu: in 2022, the top ten hot spots will rise and the profession will be released. There is no suspense about the first place!
Es6-- set
Oracle -- table operation
建立自己的网站(15)
Unity的Ping類使用
Set up your own website (15)
UE4\UE5 蓝图节点Delay与Retriggerable Delay的使用与区别
The applet draws a simple pie chart
Determine whether the appointment time has expired
CAD中图纸比较功能怎么用
Kubernetes cluster construction of multiple ECS