Perl CGI  «Prev  Next»

Set Perl Cookie - Quiz

Each question is worth one point. Select the best answer or answers for each question.
 
1. What are the benefits of a cookie?
Please select the best answer.
  A. It saves persistent-state information to the host
  B. It identifies all hidden fields in Netscape
  C. It edits the program and fills in the variables
  D. It sends headers back and forth over the HTTP connection

2. Which one of the following types of cookies differs from Netscape cookies?
Please select the best answer.
  A. IETF
  B. Internet Explorer
  C. Persistent Client State HTTP
  D. RFC-2109

122

3. What special considerations should you remember when setting and receiving cookies?
Please select the best answer.
  A. The cookie shows up before a complete round-trip
  B. The set-cookie header needs to be set after the beginning of the headers
  C. $ENV{COOKIE-HTTP} needs to be checked to see what cookies are coming back
  D. The cookie header must be properly formatted


Your score is 0.0