Q138
Which of the following is a boolean cookie attribute?
A.
bool
B.
secure
AnswerC.
lookup
D.
domain
Answer: Option B
Solution
Answer: Option B
Solution:
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.