While reviewing browser storage cookies, a theme preference should survive restart. Which action fixes it, and which check proves it worked?
Answer options
- A. Set an appropriate SameSite policy
- B. Store the preference in local storage
- C. Verify it persists after reopening
- D. Set the token cookie HttpOnly