JavaDeploy
SiteMap
Perl 1
Perl 2
ASP
XML
Perl CGI
«Prev
Next»
Web Perl
Web Server Basics
Http Protocol
Perl Basics
Perl Web Language
Perl Brief History
Compiled vs. Interpreted
Perl Language
Cross Platform Availability
Awk Sed Perl Text
Perl Regex
Pattern Matching
Powerful Pattern Matching
Regexp Substitute Operator
Execute Replacement Component
Aggregate Data Types
Perl Array
Perl Hash
Array hash Association
Perl References
Scalar References
Array References
Hash References
Perl Data Structure
Perl Web Programming
CGI Forms
About Web Forms
Passing Data Server
Server CGI Program
Get post Methods
Form Data encoding
Perl Widgets
Perl Form Conclusion
122
Perl CGI
Perl Program Flow
State Machine Model
Perl SM Example
Perl based HTML
CGI State Machine Model
Processing States using CGI
Perl Guestboook
Identify Perl Cookie Functionality
Set Read Cookies
Expire Perl Cookie
Clearing Perl Cookie State
Perl Interfaces Conclusion
Pipes Streams
Perl Stream
Write File Stream
Reading File Streams
Perl Pipe
Send email
email Form
Streams | Pipes
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
Submit
Quiz Explanation