MCQ Single Best Answer Easy

QWhich of the following is true about Cookie visibility?

ID: #5206 Javascript DOM & Event Handling MCQ 157 views
Question Info
#5206Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A domain Path
  • B local & session storage
  • C server storage
  • D transient Path
Correct Answer: Option 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

Challenge a friend or share with your study group.