1.

How can you set a Cookie visibility scope to local Storage?(a) /(b) %(c) *(d) #This question was posed to me in unit test.My question is from Cookies topic in portion Networking of Computer Network

Answer»

The correct OPTION is (a) /

To ELABORATE: 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.



Discussion

No Comment Found

Related InterviewSolutions