在我的Magento 1.7网站主页上查看Cookie时,“前端”Cookie会显示两次。
正在制作的Cookie的示例
frontend=stpvj4gep5c2h9qu4mhcdlru40; expires=Wed, 04 Feb 2015 02:21:23 GMT; path=/; domain=.example.com.au; HttpOnly
frontend=stpvj4gep5c2h9qu4mhcdlru40; path=/; domain=example.com.au
如何制作只制作一个cookie?
答案 0 :(得分:0)
您需要在管理面板中设置cookie domain。您可以在System - >下找到该设置。配置 - >常规/ Web /会话Cookie管理:Cookie域。