首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Cybersource CodeIgniter会话问题

Cybersource CodeIgniter会话问题
EN

Stack Overflow用户
提问于 2020-11-21 19:59:49
回答 1查看 98关注 0票数 1

https://testsecureacceptance.cybersource.com/payment付款后,在CodeIgniter框架中使用安全接受结帐

代码语言:javascript
复制
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

EN

回答 1

Stack Overflow用户

发布于 2020-11-24 02:25:42

通过添加以下内容找到解决方案

代码语言:javascript
复制
$config['cookie_path'] = '/; SameSite=None';

在config.php中

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/64942783

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档