vuestorefront-community / prestashop

Convert your traditional PrestaShop website into a fast, mobile friendly and modern website.
MIT License
50 stars 31 forks source link

[Bug]: setting cookies for some GET requests causes session problems #136

Closed samberrry closed 11 months ago

samberrry commented 11 months ago

Actual Behavior

When you log into the system, and then refresh home page or any other page, the user will be logged out. But this scenario happens when PrestaShop sets two cookies instead of a cookie for sessions. So, the wishlist, cart, addresses, and other GET requests will replace wrong cookie and the customer will log out..

setting cookies for cart and wishlist get requests causes session problems

Possible Solution

No response

Steps to reproduce

No response

What version of PrestaShop integration are you using?

any

What version of Node.js are you using?

any

What browser (and version) are you using?

any

What operating system (and version) are you using?

any

Relevant log output

No response

Code of Conduct

samberrry commented 11 months ago

This issue written when I got the error: https://github.com/vuestorefront-community/prestashop/issues/137 but fix related to the current issue will be a refinement not a solution to the issue 137.