reference:
Testing Environmental Alipay to ip access, and pay configure callback address Alipay success is the domain name form. Resulting in access after successful payment success page to enter the login page with a web site through the domain login and the IP login session generated is not the same, if you want to use the session information when logged in, the call is made to note and login (domain name or IP) can be consistent. --------------------- Author: Yi Yang Feng mad Source: CSDN Original: https: //blog.csdn.net/myfengcc/article/details/78093251 copyright Disclaimer: This article is a blogger original article, reproduced, please attach Bowen link!
Alipay, the use of network ip visit the purchase page, but Alipay asynchronous notification is required to access the external network,
So it will usually mapped to the external network within the network, and then deploy the project to the external network server.
But there will be a problem, it is to jump from page to surface mapping of external network domain address corresponding to the page when the page at this time of the session is lost. . . .
Phenomenon: then the page will be blocked automatically jump to the login page.
This is the root of the problem: the network ip access time and the corresponding session outside the domain name is not the same. Although it has been mapped.
Resolution: Now when the project has been deployed to the external network, when accessed directly from outside the network access domain name purchase page, drunk page jump to success page outside of your domain name, would not exist: the beginning is ip, then the domain name If the session caused by the inconsistency.