InterviewSolution
Saved Bookmarks
| 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.(a) session.domain(b) session.path(c) session.cookie_path(d) session.cookie_domainThe question was asked during an interview.The question is from Session Handling-1 topic in section File and Session Handling in PHP of PHP |
|
Answer» CORRECT option is (d) session.cookie_domain To explain: The directive session.cookie_domain DETERMINES the DOMAIN for which the cookie is valid. |
|