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