You're developing an e-commerce site and want to store user cart items temporarily. Which would be the most appropriate method to store this data without requiring user login?

  • Cookies
  • Session Storage
  • Local Storage
  • IndexedDB
The most appropriate method for storing user cart items temporarily without requiring login would be "Session Storage." It's a client-side storage solution that retains data during a single session and is perfect for this use case.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *