Jump to content

[Solved] Issues Creating New Global Cookie In Chrome


Recommended Posts

Hi,

 

I have run into an issue where I am unable to set any new cookies in Chrome. I have tested my new module in a number of other browsers and they all set the cookies fine but for some reason am unable to set them in Chrome. It sets the cookies fine on my localhost but is unable to set them on the test server.

 

Has anyone else run into a problem with this before or have any thoughts around it?

 

I've tested it on a number of different computers and it seems to be happening on all of them.

 

I'm setting the custom cookies through $this->context->cookie->newCookieName = 'value';

Have also tried setting through global $cookie, but neither seems to work in Chrome.

 

Thanks for the help

 

/************* Solved by using SESSION variables instead of cookies **************/

Edited by dawb (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...