简体   繁体   English

从 Payment Gateway 重定向时,我丢失了会话数据

[英]I am losing session data when being redirected from Payment GateWay

I am using Spring MVC for handling requests and responses.我正在使用 Spring MVC 来处理请求和响应。
I'm putting data related to a selected product and customer details in session and making the user navigate to the payment gateway.我将与所选产品和客户详细信息相关的数据放入会话中,并使用户导航到支付网关。

When the payment was successful, the user is redirected back to my site.付款成功后,用户将被重定向回我的网站。 At that point, the session data is lost.此时,会话数据丢失。

Please help me in this problem.Thanks in advance请帮我解决这个问题。提前致谢

The payment gateway could be on a different domain (www.paymentgateway.com) from you site (www.site.com).支付网关可能与您的站点 (www.site.com) 位于不同的域 (www.paymentgateway.com)。 Since the session is normally bound per domain/per context path, you could be losing your session when changing the domain.由于会话通常按域/每个上下文路径绑定,因此在更改域时您可能会丢失会话。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 java 从 Payment GateWay 重定向时,我丢失了 session 数据 - I am losing session data when being redirected from Payment GateWay using java 在不同的 class 中从构造函数转到主方法时,我丢失了数据。 怎么了? - I am losing data when going from constructor to main method in a different class. What is happening? 当我从服务器获取数据时,无法从Android端设置登录注销会话 - can not set login logout session from android side when i am fetch data from server 为什么我在Java中更改类时会丢失已存储的数据 - Why I am losing the data that I have stored when I change the class in java 为什么我在班级之间切换时会丢失 ArrayList 的内容? - Why I am losing the content of my ArrayList when I switch from class to class? 获取我被重定向到的链接 - Getting the link I am redirected to 无法从JAVA中的重定向URL检索PayPal成功/取消付款数据 - Unable to retrieve PayPal success/cancel payment data from redirected urls in JAVA 使用JDBC从MySQL数据库中提取数据时,如何避免丢失标点符号? - How do I avoid losing punctuation when pulling data from a MySQL database with JDBC? 我正在使用Authorize.net付款网关并通过直接邮寄方法进行交易,是否可以仅验证卡信息 - I am using Authorize.net payment gateway and doing transaction through Direct Post Method,is it possible to just validate card information 将数据从TreeMap传输到TreeSet时丢失数据。 - Losing data when transferring data from TreeMap to TreeSet.
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM