Home

What is the correct answer?

4

Neglecting to set which of the following cookie will result in the cookies 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

Correct Answer :

D.

session.cookie_domain


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

Related Questions

What will be the output of the following PHP code ? <?php $i = 2;while… What will be the output of the following PHP code? <?php $a = array(A,… Which of the following is/are a PHP code editor?i) Notepadii) Notepad++iii)… PHP files have a default file extension of.. What will be the output of the following PHP code ? <?php $color1 =… What will be the output of the following PHP code? <?php $a = array(red,… If the directive session.cookie_lifetime is set to 3600, the cookie will… Which directive determines how the session information will be stored? What will be the output of the following PHP code? <?php $fname = array(Peter,… Which of following variables can be assigned a value to it?i) $3helloii)… What will be the output of the following PHP code ? <?php $color =… What will be the output of the following PHP code? <?php $a = array(a=>red,… How many ways can a session data be stored? What will be the output of the following PHP code ? <?php $color =… What will be the output of the following PHP code ? <?php $color1 =… What will be the output of the following PHP code ? <?php define('GREETING_TEST',… What will be the output of the following PHP code ? <?php define(GREETING,… What does PHP stand for?i) Personal Home Pageii) Hypertext Preprocessoriii)… Which one of the following function is useful for producing a timestamp… Which of the following must be installed on your computer so as to run… What will be the output of the following PHP code ? <?php define('IF',… Which one of the following is the default PHP session name? Say you want to calculate the date 45 days from the present date which… What is the default number of seconds that cached session pages are made… What will be the output of the following PHP code? If say date is 22/06/2013.… What will be the output of the following PHP code? <?php $a1 = array_fill(3,… What will be the output of the following PHP code ? <?php $color1 =… What will be the output of the following PHP code ? <?php define(__LINE__,… What will be the output of the following PHP code ? <?php $i = 5;while… What will be the output of the following PHP code ? <?php define('GOOD_OCTAL',…