Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大神求救:session改成file之后重启出错 #2

Open
dantengcaiju opened this issue Oct 28, 2018 · 2 comments
Open

大神求救:session改成file之后重启出错 #2

dantengcaiju opened this issue Oct 28, 2018 · 2 comments

Comments

@dantengcaiju
Copy link

很感谢大神的后台框架,我想借鉴大神的框架自己写个工具
但是调试的时候每次启动都要重新登录,然后修改了session的存储模式改为file存储
sessionprovider = file
然后登录保存了session之后,重启进程之后就,所有页面都无法访问了,研究了很久没有找到原因,请大神指点啊

@lhtzbj12
Copy link
Owner

sessionprovider = file 我也没有尝试过,通常session都是保存在内存或者缓存服务器里

@dantengcaiju
Copy link
Author

感谢回复
因为技术有限,调试的时候重启很频繁,每次都要登录
换成redis缓存也是同样的问题,很苦恼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants