-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 值获取失败 #3550
Comments
Duplicated with #3549 |
Hello @ChunrunHan. Please provide a reproducible example following the instruction. Issues labeled by @ChunrunHan,请根据这个说明提供最小可复现代码。 如果在 7 天内没有进展会被自动关闭。 |
我试了下,在 home 里面是可以 print 出来的,自己检查下代码吧。 PS:你这不叫最小可复现了,一大堆干扰代码。另,你的秘钥都发出来了。 |
To https://github.com/ChunrunHan/eggjs-server.git |
一样的,你不要弄那么多复杂的,直接 |
|
我有个问题,egg解决跨域后,session 有冲突吗? |
什么叫解决跨域后的 session 冲突?你就可以 egg 视为是一个 Web 服务器,按 HTTP 标准该怎么样就怎么样的。 |
我现在安装完egg-cors 以后,session 就获取不到了。 |
跨域肯定是拿不到 cookie 的。 请提供最小可复现方式。 |
有种可能是:页面开了CDN缓存 |
Environment
Reproduction
第一步:用户获取验证码
The text was updated successfully, but these errors were encountered: