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
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
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.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic