Magento Frontend Cookie is being duplicated

When viewing the cookies on my Magento 1.7 site homepage the "frontend" cookie is shown twice.

Examples of the cookies being produced

frontend=stpvj4gep5c2h9qu4mhcdlru40;
expires=Wed, 04 Feb 2015 02:21:23 GMT;
path=/; 
domain=.example.com.au; HttpOnly
frontend=stpvj4gep5c2h9qu4mhcdlru40;
path=/;
domain=example.com.au

How do you make it so that only one cookie is being produced?


You need to set a cookie domain in the Admin Panel. You can find the setting under System -> Configuration -> General / Web / Session Cookie Management: Cookie Domain.

链接地址: http://www.djcxy.com/p/62430.html

上一篇: 抓取Google只显示“q”

下一篇: Magento前端Cookie正在被复制