I am working on a ecommerce site. sending value to payment gateway. While returning from payment gateway both session & cookies get lost. But if i click some other page session & cookie restored.
Help me sort out the issue.
session_start(); error_reporting(0); $ch1=$_SESSION['login']; $ch2= $_SESSION['loginname']; if($ch1!=1) { header('location:login'); }
https://stackoverflow.com/questions/67395048/php-sessions-cookies-get-lost-when-directing-to-a-payment-gateway May 05, 2021 at 12:05PM
没有评论:
发表评论