当前位置:网站首页>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 ?
边栏推荐
- Js獲取指定字符串指定字符比特置&指定字符比特置區間的子串【簡單詳細】
- Force buckle 428 Serialize and deserialize n-tree DFS
- Is the jar package for the project or the project for the jar package
- How to build an all-in-one database cloud machine that meets the needs of information innovation?
- unable to convert expression into double array
- 新冠无情人有情,芸众惠爱心善举暖人间——捐赠商丘市儿童福利院公益行动
- 鼠标右键打开cmd(命令行)
- 栈题目:字符串解码
- Flume learning II - Cases
- 乡村振兴公益基金启动暨古茶树非遗保护公益行发布
猜你喜欢

Koreano essential creates a professional style

Add / delete query of topic

MySQL index, transaction and storage engine of database (2)

SolidWorks质量特性详解(惯性张量、转动惯量、惯性主轴)

unable to convert expression into double array

Flume learning III

陈颢天 荣获第七届少儿模特明星盛典全国总决赛 全国总冠军

"Kunming City coffee map" activity was launched again

MIT-6874-Deep Learning in the Life Sciences Week5

打通供应链 深圳礼品展助跨境电商寻破局之道
随机推荐
Network based BGP
Theme Studio(主题工作室)
李沐《动手学习深度学习》d2lbook环境搭建
【C语言快速上手】带你了解C语言,零基础入门③
Memorize the text and remember the words. Read the text and remember the words. Read the article and remember the words; 40 articles with 3500 words; 71 articles broke through the words in the middle
Js獲取指定字符串指定字符比特置&指定字符比特置區間的子串【簡單詳細】
著名画家史国良《丰收时节》数字藏品上线长城数艺
GNN动手实践(二):复现图注意力网络GAT
7. development of mobile login function
Network based dynamic routing protocol (OSPF)
Automated stock trading ensemble strategy based on Reinforcement Learning
9. cache optimization
机器人系统动力学——惯性参数
浏览器复制的网址粘贴到文档是超链接
7.手机登陆功能开发
OSError: [Errno 28] No space left on device
The preliminary round of the sixth season of 2022 perfect children's model Hefei competition area was successfully concluded
G code explanation | list of the most important G code commands
A brief introduction to database mysql
调试方法和技巧详解