Vidyalelo
PHP · Q37

HTML Forms Handling

Programming · PHP · question 37

Q37

Neglecting to set which of the following cookie will result in the cookie’s domain being set to the host name of the server which generated it.

A.
session.domain
B.
session.path
C.
session.cookie_path
D.
session.cookie_domain
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The directive session.cookie_domain determines the domain for which the cookie is valid.