Working with Cookies and Sessions Multiple Choice Questions and Answers 1 PDF Book Download

Working with cookies and sessions multiple choice questions (MCQs), working with cookies and sessions test prep to learn php quiz 1 for CS degree free online courses. Learn how sessions work in php multiple choice questions (MCQs), working with cookies and sessions quiz questions and answers. Free e-learning tutorial on how sessions work in php, home grown alternatives, simple session code, cookies test prep for online software engineering courses distance learning.

Practice working with cookies and sessions career test with multiple choice question: if you want php to transparently handle passing session variables for you when cookies are not available, you have to configure, for computer science majors with options enable-track-vars option, enable-trans-sid option, disable-tans-vars option for online software engineering degree. Professional skills assessment test with learning online how sessions work in php quiz questions with php MCQs for IT certifications competitive exam prep.

MCQ on Working with Cookies and Sessions Test 1Quiz Book Download

MCQ: When a session ia active, PHP provides a special constant called

  1. SID
  2. CID
  3. DID
  4. None of them

A

MCQ: If you want PHP to transparently handle passing session variables for you when cookies are not available, you have to configure

  1. enable-trans-sid option
  2. enable-track-vars option
  3. disable-tans-vars option
  4. Both A and B

D

MCQ: A special kind of a file that is located in filesystem of your browser and can be read and write from web server, is calls as

  1. Session
  2. Cookies
  3. Script
  4. All of them

C

MCQ: Using $_SESSION, $HTTP_SESSION_VARS functions can be dangerous, so that you can use

  1. session_destroy ( )
  2. session_unset ( )
  3. set ( )
  4. None of them

B

MCQ: In PHP, cookies are set by using the

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

A