Question
QUESTION 16 There are ___ name/value pairs in this statement. http://www.URL.com/TargetPage.php?name=Bill&age=26&occupation=painter one two four three six QUESTION 17 Cookies are transmitted between client and server
QUESTION 16
There are ___ name/value pairs in this statement.
http://www.URL.com/TargetPage.php?name=Bill&age=26&occupation=painter
one | ||
two | ||
four | ||
three | ||
six |
QUESTION 17
Cookies are transmitted between client and server _____.
in the HTTP footer | ||
when the tags execute | ||
in the HTTP header | ||
using the HTML(encode) command |
QUESTION 18
The UNIX epoch began at the stroke of midnight ___.
"January 1, 1970" | ||
"January 1, 2000" | ||
"January 1, 1562" | ||
"January 1, 1900" |
QUESTION 19
You create an error if more than one header is sent.
True
False
QUESTION 20
You can cancel a cookie by _____.
giving it a negative expiration time | ||
setting the cookie name to false | ||
"using setcookie(0, 0, 0)" | ||
you can't cancel a cookie if its expiration time has already been set. |
QUESTION 21
HTTP helps preserve user information between posts by using imorks.
True
False
QUESTION 22
Each page that uses sessions must begin with which command?
session_begin() | ||
session_start() | ||
setcookie() | ||
setcookie('session') |
QUESTION 23
What about this instruction?
unset($_SESSION);
the value for the key 'age' is set to NULL | ||
all sessions are disabled on the web server. |
QUESTION 24
The ____ argument is used for sharing cookies across multiple servers in the same domain.
secure | ||
domain | ||
path | ||
expires |
QUESTION 25
Preserving user information between posts is called _____.
keepin it real | ||
data preservation | ||
maintaining state | ||
deep copying |
QUESTION 26
Some advantages of using sessions rather than cookies might be ___. Choose all correct answers.
session variables can be seen by the client | ||
session variables are limited to 50 different values | ||
they are more secure | ||
there is no real storage limit |
QUESTION 27
To free the buffer when output buffering you would execute ____.
end_flush() | ||
ob_flush() | ||
ob_end_flush() | ||
buffer_flush() |
QUESTION 28
A user can disable cookies in their browser.
True
False
QUESTION 29
The ____ argument indicates that a cookie can only be transmitted across a secure Internet connection using HTTPS or another security protocol.
path | ||
expires | ||
secure | ||
domain |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started