in Web Technologies recategorized by
450 views
1 vote
1 vote

How can we set a Cookie visibility scope to local storage ?

  1. $\$$
  2. $\%$
  3. $/$
  4. All of the options
in Web Technologies recategorized by
450 views

1 Answer

2 votes
2 votes

Option C

Setting the path of a cookie to “/” gives scoping like that of local Storage 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.

https://stackoverflow.com/questions/7551113/how-do-i-set-path-while-saving-a-cookie-value-in-javascript

 

Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true