As an Amazon Associate I earn from qualifying purchases.

Cookies MCQs Quiz Online PDF Download eBook

Solve Cookies Multiple Choice Questions (MCQ), cookies quiz answers PDF PHP practice test for online degree programs. Learn working with cookies and sessions Multiple Choice Questions and Answers (MCQs), "Cookies Quiz" questions and answers for top online computer science programs. Learn configuration issues, how sessions work in php, sending http headers test prep for master's degree in computer science.

"In PHP, cookies are set by using the" Multiple Choice Questions (MCQ) on cookies with choices setcookie ( ) function, set ( ) function, cookie_set ( ) function, and none of them for top online computer science programs. Practice cookies quiz questions for merit scholarship test and certificate programs for BSc computer science.

MCQs on Cookies PDF Download eBook

MCQ: In PHP, cookies are set by using the

  1. setcookie ( ) function
  2. set ( ) function
  3. cookie_set ( ) function
  4. None of them

A

MCQ: Name, value, expire, patrh, httponly, domain, secure all of these are arguments of

  1. session ( ) function
  2. setcookie ( ) function
  3. reset_cookie ( ) function
  4. None of them

B

MCQ: The secure ( ) argument in setcookie function returns result

  1. In integer form
  2. In string form
  3. In boolean form
  4. None of them

C

MCQ: In PHP4.1 and later versions, the cookies name/value pair are added to the

  1. Superglobal array
  2. $_COOKIE
  3. Global function
  4. Both A and B

D