当前位置:网站首页>Questions about cookies and sessions
Questions about cookies and sessions
2022-06-30 10:17:00 【Adair_ Xu】
Three objects : client A, The server B, The server C
1. client A Request to server B, The server B Set up session data , For example, a user name is stored , The value is :csdn
2. The server B Set the session After the data ,301 perhaps 302 Jump to server C
3. The server C Do nothing ( You can also do some business processing , Is not important ),301 perhaps 302 Then jump to the server B
4. The problem is at this step , The server B here , Again from session Retrieve the user name stored before , The result is that , Output on the page as :csdn
Normally, you can't get it .
adopt chrome Debug to see , step 1 in , Generate sessionid Store in client A, step 2 in , Jump to server C, Is not to bring sessionid Of , step 3 in , The server C Jump to server B, But with the steps 1 in , Produced sessionid
It's strange ,session It depends on cookie Of , step 1 Medium sessionid Store in client A, step 3 in , The server C Jump to server B, The server C This can also be seen as relative to the server B The client of , The server C There is no such thing as sessionid Of , But why did you bring it again sessionid Well ?
边栏推荐
- A brief introduction to database mysql
- keras ‘InputLayer‘ object is not iterable
- "Kunming City coffee map" activity was launched again
- MIT-6874-Deep Learning in the Life Sciences Week6
- Deploy lvs-dr cluster
- JS obtient la chaîne spécifiée spécifiant la position du caractère & sous - chaîne spécifiant la plage de position du caractère 【 détails simples 】
- Setting up the d2lbook environment for Li Mu's "hands on learning and deep learning"
- Some domestic image sources
- JS get the substring of the specified character position and the specified character position interval of the specified string [simple and detailed]
- unable to convert expression into double array
猜你喜欢
“昆明城市咖啡地圖”活動再度開啟
【C语言快速上手】带你了解C语言,零基础入门③
二极管如何工作?
The present situation and challenge of the infrastructure of Yiwen parsing database
C语言实现扫雷游戏,附详解及完整代码
JS get the substring of the specified character position and the specified character position interval of the specified string [simple and detailed]
Brève description du collecteur d'ordures G1
The URL copied by the browser and pasted into the document is a hyperlink
Open source! Wenxin large model Ernie tiny lightweight technology, accurate and fast, full effect
逸仙电商发布一季报:坚持研发及品牌投入,实现可持续高质量发展
随机推荐
Xinguan has no lover, and all the people benefit from loving deeds to warm the world -- donation to the public welfare action of Shangqiu children's welfare home
Stack Title: String decoding
Appium automation test foundation - ADB shell command
Rider打开Unity脚本后没有提示
背课文记单词,读课文记单词,读文章记单词;40篇文章搞定3500词;71篇文章突破中考单词;15篇文章贯通四级词汇;15篇文章贯通六级词汇
Jump table introduction
[JVM] brief introduction to CMS
李沐《动手学习深度学习》d2lbook环境搭建
The URL copied by the browser and pasted into the document is a hyperlink
力扣 428. 序列化和反序列化 N 叉树 DFS
9.缓存优化
Deploy lvs-dr cluster
NLopt--非线性优化--原理介绍及使用方法
磁悬浮3D灯
文章内容无法复制复制不了
ModuleNotFoundError: No module named ‘_ swigfaiss‘
AttributeError: ‘Version‘ object has no attribute ‘major‘
Right click to open CMD (command line)
2022 Season 6 perfect children's model toxon division finals came to a successful conclusion
‘Failed to fetch current robot state‘ when using the ‘plan_ kinematic_ path‘ service #868