You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user enter the website generate a cookie/session and saved under the name of sid in the browser with an age of 1 day.
The cookie is attached to the cart whether the client is logged in or just a guest. So when an existed customer in our database log in and then logs out the cart is still shows the the data after log out.
To Reproduce
Steps to reproduce the behavior:
Go to the website.
log in as a customer.
Add some products to the cart.
log out. Then you will see that items is still showing in the cart.
Background (please complete the following information):
NodeJS Version 20.13
Postgres Version 16
EverShop Version 1.1.0
OS: Ubuntu 24 LTS
Browser: Chrome
Additional context
I can help to provide a solution to this problem.
The text was updated successfully, but these errors were encountered:
Describe the bug
sid
in the browser with an age of 1 day.To Reproduce
Steps to reproduce the behavior:
Background (please complete the following information):
Additional context
I can help to provide a solution to this problem.
The text was updated successfully, but these errors were encountered: