如何从特定域而不是您自己的域中删除 cookie

发布于 2024-09-10 04:05:33 字数 334 浏览 4 评论 0原文

我们有一个独特的问题.. 似乎我们的一个支付处理商在用户第一次使用该处理商访问我们的支付页面时为他们提供了额外的选项 - 从我们的网站发送到它。然而,当我们的用户随后访问该支付页面时,这些附加选项就消失了……我们认为这与该网站的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

萌逼全场 2024-09-17 04:05:33

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

书间行客 2024-09-17 04:05:33

这是你的支付提供商的问题,他应该解决它!出于安全和隐私原因,无法从其他域读取或修改 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文