Home » PHP » PHP Sessions » Question
  1. 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.
    1. session.cookie_domain
    2. session.cookie_path
    3. session.path
    4. session.domain
    5. None of these
Correct Option: A

The directive session.cookie_domain determines the domain for which the cookie is valid.



Your comments will be displayed only after manual approval.