Duplicate cookie being formed for shopping basket
Good Afternoon,
Firefox version: 27.0.1 OS: Windows 7
I was hoping I could get some information and possibly some help on rectifying this issue with duplicate cookes on firefox that I've been having.
I discovered that I was having two identical cookies being created for my shopping basket on the site which meant that, while I was adding products to my basket, it would not show up on the basket page as the cookie information being retrieved was stored on the duplicate cookie instead. Analysing the data on the cookies was not possible either as it all appears garbled. There is an apache server that redirects users from site.co.uk to www.site.co.uk and does not create cookies in that instance so this should not be a problem.
Is there a fix I can apply for this? Is this a firefox issue perhaps?
Tất cả các câu trả lời (2)
Do these cookies have a different path?
Are that domain cookies (i.e. start with a dot)?
You can inspect and manage the cookies for the domain in the currently selected tab:
- Click the "Site Identity Button" (globe/padlock) on the location bar
- Click "More Information" to open "Tools > Page Info" with the Security tab selected
- Click "View Cookies" to view the cookies for the domain in the currently selected tab
No, they are exactly identical and are not domain cookies. They contain data that reflects the basket contents.
e.g. BasketID2=a066ec59d2b54a69b9523dd6&Count=2
As mentioned earlier, one cookie would be updated when you add or remove products but when checking out, it is the other cookie that gets read instead.