mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #444] 使用以Session保存登录信息的网站时会发生丢失session造成登录信息丢失的问题 #337
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#337
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fsea on GitHub (Aug 30, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/444
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
What version of frp are you using (./frpc -v or ./frps -v)?
v0.13.0
What operating system and processor architecture are you using (
go env)?frps:Windows2012
frpc:linux
Configures you used:
Steps to reproduce the issue:
1.访问通过frp映射出来的网站
2.使用账号密码登录后台
3.
Describe the results you received:
经常性的丢失session。造成登录超时,被注销登录状态。
Describe the results you expected:
保存session,同一会话不丢失
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
多次回话时可能请求到不同的连接,造成session丢失。
@fatedier commented on GitHub (Aug 30, 2017):
没有理解和 frp 的关系是什么?
frp 的作用就是帮助你和内网的某个服务之间建立一个连接,至于这个连接是做什么并不关心,也不会修改这里面的数据。理论上和你在内网直接访问这个服务没有区别。
如果仍然有问题,最好能提供一个简单的可在本地复现的方法,方便排查问题。
@fsea commented on GitHub (Sep 15, 2017):
多次会话时可能请求到不同的连接,造成session丢失。
@KagurazakaNyaa commented on GitHub (Sep 17, 2017):
你的意思是重开一个浏览器标签可能会请求到一个新建的链接吗?但是我记得session应该是使用一个短时的cookies来保存session的ID的,所以应该是没有这个问题,建议你检查你自己的代码是否有问题,可以尝试写一个demo来测试session的工作情况