Microsoft Exam Questions

Which object should you use to store the shopping cart data?

You are developing an e-commerce website. Users place products into a shopping cart.
You need to ensure that the shopping cart data is available between browser sessions.
Which object should you use to store the shopping cart data?

A.
clientStorage

B.
localStorage

C.
applicationStorage

D.
sessionStorage