Examveda
Examveda

Which of the following is a boolean cookie attribute?

A. bool

B. secure

C. lookup

D. domain

Answer: Option B

Solution(By Examveda Team)

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.

Join The Discussion

Related Questions on Document Object Model and Event Handling