如何从特定域而不是您自己的域中删除 cookie
我们有一个独特的问题.. 似乎我们的一个支付处理商在用户第一次使用该处理商访问我们的支付页面时为他们提供了额外的选项 - 从我们的网站发送到它。然而,当我们的用户随后访问该支付页面时,这些附加选项就消失了……我们认为这与该网站的 cookie 设置有关。 有没有办法,在用户交互/批准的情况下,在我们将他们引导到该付款页面之前从其他域中删除 cookie? 所以,这个过程可能看起来像这样: 1)用户点击支付链接 2) 确认框显示通知,说明要启用“这些”功能,他们需要从发送到的网站清除 cookie。 3) 用户单击“是”,来自其他域的所有 cookie 都将被删除 4) 然后用户将被引导至支付页面以使用附加功能完成支付。
谢谢!
we have a unique issue.. it seems one of our payment processors offers additional options to users the first time they visit our payment page with the processor - being sent to it from our website. However, the subsequent times our users go to that payment page, those additional options are gone... we believe it has to do with cookie settings from the site.
Is there a way, with the users interaction/approval, to delete cookies from that other domain BEFORE we direct them to that payment page??
So, the process might look something like this:
1) User clicks payment link
2) Confirm box displays notice stating to enable 'these' features, they need to clear their cookies from the site they are being sent to..
3) User clicks yes and all cookies from the other domain are deleted
4) User is then directed to the payment page to complete payment with the additional features.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
cookies不能跨域工作,所以当您的客户访问支付网站时,支付网站无法读取非他们设置的cookie
cookies do not work cross domain, so when your clients go to the payment site, the payment site can not read the cookies that are not set by them
这是你的支付提供商的问题,他应该解决它!出于安全和隐私原因,无法从其他域读取或修改 Cookie。
It is a problem of you payment provider and he should solve it! Cookies cannot be read or modified from other domains for security and privacy reasons.