- document Path
- localStorage
- sessionStorage
- all of the mentioned
Answer: Option 1 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...
1 Answers 1 viewsAnswer: Option 3 Let'
1 Answers 1 viewsAnswer: Option 4 Let'
1 Answers 1 viewsAnswer: Option 2 Let'
1 Answers 1 viewsAnswer: Option 1 There are no methods involved: cookies are queried, set, and deleted by reading and writing the cookie property of the Document object using specially formatted strings.
1 Answers 1 viewsAnswer: Option 3 If you want a cookie to last beyond a single browsing session, you must tell the browser how long (in seconds) you would like it to retain...
1 Answers 1 viewsAnswer: Option 4 The Cookie visibility scope is configurable through cookie attributes path and domain.
1 Answers 1 viewsAnswer: Option 2 The final cookie attribute is a boolean attribute named secure that specifies how cookie values are transmitted over the network. By default, cookies are insecure, which means...
1 Answers 1 viewsAnswer: Option 1 Cookie values cannot include semicolons, commas, or whitespace. For this reason, you may want to use the core JavaScript global function encodeURIComponent() to encode the value before...
1 Answers 1 viewsAnswer: Option 4 The directive session.cookie_domain determines the domain for which the cookie is valid.
1 Answers 1 views