I get the cookie the first time but on repeat runs of the script. It never receives that header.
And on such occasions when the cookie is not sent, the server redirects the request to localhost. I supposed, this was an IP blocking issue but it also happens with my local IP which can still access the website on the browser.
But the problem is more pronounced on my VPS that has a UK IP address.
I have done a lot of tweaking on the headers, yet to no avail.
I get the cookie the first time but on repeat runs of the script. It never receives that header.
And on such occasions when the cookie is not sent, the server redirects the request to localhost. I supposed, this was an IP blocking issue but it also happens with my local IP which can still access the website on the browser.
But the problem is more pronounced on my VPS that has a UK IP address.
I have done a lot of tweaking on the headers, yet to no avail.