MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Computer Networks
Cookie
Q
Which of the following defines the Cookie visibility?
AA. Document path
BB. Localstorage
CC. Sessionstorage
DD. All of the mentioned
Correct Answer:
D. D. All of the mentioned
Explanation:
sessionStorage, localStorage and Document path all are used to store data on the client-side. Each one has its own storage and expiration limit. Cookie visibility is scoped by the document origin as Local Storage and Session Storage are, and also by document path.