A

Admin • 828.03K Points
Coach

Q. How can you set a Cookie visibility scope to localStorage?

  • (A) /
  • (B) %
  • (C) *
  • (D) All of the mentioned

Explanation by: Admin
Setting the path of a cookie to “/” gives scoping like that of localStorage and also specifies that the browser must transmit the cookie name and value to the server whenever it requests any web page on the site.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.