1.

Which of the following is a Boolean cookie attribute?(a) Bool(b) Secure(c) Lookup(d) DomainI got this question in an online interview.My enquiry is from Cookies in division Networking of Computer Network

Answer»

Right choice is (B) SECURE

The best explanation: 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 that they are transmitted over a normal, insecure HTTP connection. If a cookie is marked secure, however, it is transmitted only when the browser and server are connected via HTTPS or another secure protocol.



Discussion

No Comment Found

Related InterviewSolutions