Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Chrome Cookie Issues [duplicate]

Possible Duplicate:
setcookie() does not set cookie in Google Chrome

I'm testing a site I've built using the latest build of Chrome on Windows 7 and for some reason it's having issues with cookies. From what I can tell the cookies are being set correctly by the php script but then fail some basic validation in my script on the next page load and are then reset to the default setting.

What is baffling is when using Chrome with Windows XP there are no issues at all. Additionally there are no issues when using IE 8 on Windows 7 or the OSX build of Chrome, Firefox or Safari.

Anyone have any suggestions?

like image 776
Eric Avatar asked Nov 06 '22 15:11

Eric


1 Answers

This is probably a long shot if you're using php's setcookie() function, but double check that your cookie/header isn't malformed. It's possible Chrome is less forgiving about a small error that the other browsers ignore.

like image 148
keithjgrant Avatar answered Nov 14 '22 00:11

keithjgrant