Asp.Net 会话在 Https 之后丢失
我正在尝试将 2Checkout 付款集成到我的 asp.net 4.0 网站中,一切正常,除了当浏览器导航到 2 结帐时的结帐/付款页面时会话丢失这一恼人的事情之外。
我很确定问题是浏览器从 http 切换到 https,然后又切换回 http。
我尝试设置 HttpCookie 来解决该问题,但没有成功。
如何配置(可能是 web.config 中的某些内容)网站,以便在重定向回我自己的网站后会话仍然良好?
谢谢。
I am trying to integrate 2Checkout payment into my asp.net 4.0 website and everything is working except the annoying thing that the Session is lost when the browser navigates to the checkout/payment page at 2 checkout.
I am pretty sure the problem is that the browser switches from http to https and back to http.
I tried to set a HttpCookie to solve the problem, but that didn't work.
How do I configure (probably something in web.config) the website, so that the session is still good after the redirect back to my own website?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论