当前位置:网站首页>Application session coverage solutions with different ports on the same server
Application session coverage solutions with different ports on the same server
2022-06-25 01:31:00 【Lingyue 11】
Problem scenario : There are two applications that need to run on the same server .A In the application, we should iframe nesting B Pages in the app , But every time you log in B After the system A Systematic session Will be covered and cause A System disconnection
reason : Two applications are in the same IP The next run will overwrite each other session
Solution : modify cookie Medium jsessionid name ,springboot Modify the configuration file server.servlet.session.cookie.name=JSESSIONID1( The names of the two systems are different )
tomcat Modify the scheme by yourself .. There are many on the Internet 
————————————————
Copyright notice : This paper is about CSDN Blogger 「 The back end of the front end is forced 」 The original article of , follow CC 4.0 BY-SA Copyright agreement , For reprint, please attach the original source link and this statement .
Link to the original text :https://blog.csdn.net/qq_37740982/article/details/97373855
边栏推荐
猜你喜欢

Abnova a4gnt polyclonal antibody

Tianshu night reading notes -- memory paging mechanism

JVM指令

Programmer: did you spend all your savings to buy a house in Shenzhen? Or return to Changsha to live a "surplus" life?

TC对象结构和简称

Abnova BSG monoclonal antibody description in Chinese and English

Linux64Bit下安装MySQL5.6-不能修改root密码

Bi skill - judge 0 and null

天书夜读笔记——内存分页机制

ICML2022 | 用神经控制微分方程建立反事实结果的连续时间模型
随机推荐
明日考试 最后一天如何备考?二造考点攻略全整理
Some Modest Advice for Graduate Students - by Stephen C. Stearns, Ph.D.
IPC机制
What to learn in VB [easy to understand]
Why does Dell always refuse to push the ultra-thin commercial notebook to the extreme?
数组中关于sizeof()和strlen
Lenovo tongfuyao: 11 times the general trend, we attacked the city and pulled out the stronghold all the way
Program.launch(xxx)打开文件
粉丝福利,JVM 手册(包含 PDF)
Bi SQL drop & alter
梦想CAD云图与GIS结合演示
Bi-sql like
After the college entrance examination, the following four situations will inevitably occur:
Tianshu night reading notes -- disassembly engine xde32
JVM指令
天书夜读笔记——深入虚函数virtual
Bi-sql index
AssertionError: CUDA unavailable, invalid device 0 requested
‘distutils‘ has no attribute ‘version
ICML2022 | 用神经控制微分方程建立反事实结果的连续时间模型