Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Duplicate cookie being formed for shopping basket

  • 2 ответа
  • 1 имеет эту проблему
  • 3 просмотра
  • Последний ответ от retorth

more options

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?

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?

Все ответы (2)

more options

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
more options

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.