MCQ Single Best Answer Easy

QWhich of the following can be used to define the scope of Cookie visibility?

ID: #5207 Javascript DOM & Event Handling MCQ 146 views
Question Info
#5207Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic

Choose the Best Option

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

  • A path
  • B domain
  • C both path and domain
  • D server
Correct Answer: Option C

Explanation

Cookie visibility scope is set via cookie attributes path and domain.
The cookie's domain attribute is used to specify the domain to which the cookie is sent.
path specifies the path for which this cookie is sent by including the Path attribute in the cookie.

Share This Question

Challenge a friend or share with your study group.