1

在 CodeIgniter 框架中使用 Secure Acceptance 进行结帐,但在付款后 https://testsecureacceptance.cybersource.com/payment

Sometimes it returns to the right response 
(Persists the Session and contains the PHPSSID in the set-cookie request headers)

But sometimes it Logs the user out (The PHPSSID is missing in the set-cookie request headers)

如何解决此意外行为

CodeIgnitor 版本 3.1.11

4

1 回答 1

0

通过添加找到解决方案

$config['cookie_path'] = '/; SameSite=None';

在 config.php 中

于 2020-11-23T18:25:41.857 回答