MCQ Practice Single Best Answer Topic: Javascript DOM & Event Handling MCQ

Q Which of the following is true about Cookie visibility?

Question ID
#5206
Subchapter
Javascript DOM & Event Handling MCQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A domain Path
  • B local & session storage
  • C server storage
  • D transient Path
Correct Answer: B

Explanation

To store data on the client side, sessionStorage, localStorage, and Cookies are all used.
Each has a different storage and expiration date.
Cookie visibility is limited by document origin, just like localStorage and sessionStorage, as well as document path.

Share This Question

Share this MCQ with your friends or study group.