Every page on site has a session cookie
-
Hi All,
Nice sweet plugin. However, it sets a cookie on every page of the site resulting in page cache not working. So NO pages are cached because of this session cookie being set on every page by the Simple Shopping Cart plugin.
For example:
set-cookie: PHPSESSID=vpij9go0ativijotfu5ecs690h; path=/
A session cookie is set on entire site regardless of whether there is an add to cart button on the page or anything in the cart. I did check the option to “Disable Nonce Check for Add to Cart”. This doesn’t effect the session cookie being set and therefore the page cache does not work if this plugin is used on a site.
By way of comparison, WooCommerce does not set a cookie until you add something to your cart which is ideally what you your plugin should wait to do as well.
Please let me know if I’m missing something.
Thanks!
- The topic ‘Every page on site has a session cookie’ is closed to new replies.