Single Choice Easy

QWhich of the following is an example of a boolean cookie attribute?

ID: #5209 Javascript DOM & Event Handling MCQ 148 views
Question Info
#5209Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A bool
  • B secure
  • C lookup
  • D domain
Correct Answer

Explanation

The final cookie attribute is a boolean attribute called secure, which specifies how cookie values are sent across the network.
Cookies are insecure by default, which means they are sent over an insecure HTTP connection.
However, if a cookie is marked secure, it is only sent when the browser and server are connected via HTTPS or another secure protocol.

Share This Question

Challenge a friend or share with your study group.