I am facing this issue
I have a site and that is deployed on AWS two servers and I have used AWS sticky sessions. Website is in PHP WordPress, some of the time cookie is set but mostly not. How can I solve the issue ? I used cookie set in this way in PHP
setcookie('4artref', $referralCode, time()+31536000, "/");