Fattouh
Basket feature in ASP.NET with EF Core & Web API
Hey everyone, I'm working on a for an e-commerce website. I want guest users to add items before logging in, and after logging in, transfer those items to their account's basket.
My main concern is: How do I identify a guest before they log in?
Should I use a temporary identifier (like a cookie or local storage) or generate a session-based guest ID? What's the best approach for handling this transition smoothly?
2 replies