如何在重定向到 SSL 期间保持相同的 ASP 会话?
我有一个运行经典 ASP 的购物车网站,在结帐过程中需要帮助。 当用户准备结账时,他们会被重定向到 SSL 版本的网站。
Response.Redirect "https://example.com/beginCheckoutProcess.asp"
发生跳转时,客户在到达 SSL 版本的站点时会启动新会话。 这意味着他们购物车中的内容会丢失,从而给他们带来糟糕的网站体验。
有没有办法在跳转到 SSL 的过程中保持相同的 ASP 会话?
I have a shopping cart website running classic ASP that needs help during the checkout process. When a user is ready to checkout, they are redirected to an SSL version of the site.
Response.Redirect "https://example.com/beginCheckoutProcess.asp"
When the jump occurs, the customer starts a new session when they arrive at the SSL version of the site. This means that the contents of their cart are lost, leaving them with a terrible experience on the site.
Is there a way to maintain the same ASP session across the jump to SSL?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否尝试过设置 cookie 并将其存储在两端? 然后您可以在另一端重新创建会话。
Have you tried setting a cookie and storing it on both ends? Then you can recreate the session on the other end.
如果您保持子域相同,它就会起作用。
If you keep the subdomain same it'll just work.