Question: QUESTION 30 The third parameter in setcookie() is the ____ parameter. path expires value name QUESTION 31 What can you say about this instruction. setcookie(name,
QUESTION 30
The third parameter in setcookie() is the ____ parameter.
| path | ||
| expires | ||
| value | ||
| name |
QUESTION 31
What can you say about this instruction. setcookie("name", "fido", time() + 3600); Choose all that apply.
| the cookie expires in 36 hours | ||
| "the cookie name is ""name""" | ||
| the cookie expires in 1 hour | ||
| the cookie name is 'fido' |
QUESTION 32
Both session variables and cookies data are stored on the client's machine.
True
False
QUESTION 33
"To pass information from one page to another using a query string, you add a(n) ____ immediately after the URL, followed by the query string containing the information you want to preserve in name=value pairs."
| forward slash (/) | ||
| backslash (\) | ||
| question mark (?) | ||
| ampersand (&) |
QUESTION 34
What happens here? unset($_SESSION['age']);
| the value for the key 'age' is set to NULL | ||
| all sessions are disabled on the web server. |
QUESTION 35
By default sessions use a single cookie named ____ to store a cryptographic ID string on the client's machine.
| SESSID | ||
| PHPSESSID | ||
| USRSESSID | ||
| PHPSID |
QUESTION 36
You separate individual name=value pairs within a query string using ____.
| question marks (?) | ||
| backslashes (\) | ||
| forward slashes (/) | ||
| ampersands (&) |
QUESTION 37
One way to preserve information following a user's visit to a Web page is to append a ____ at the end of a URL.
| query string | ||
| function | ||
| identifier | ||
| auto-global |
QUESTION 38
Submitted form values can be accessed by using the $_GET[] and ____ superglobals.
| $_POST[] | ||
| $_RETRIEVE[] | ||
| $_SEEK[] | ||
| $_SEND[] |
QUESTION 39
Cookies that are available to the current Web page are automatically assigned to the ____ superglobal.
| $_DATA | ||
| $_COOKIE | ||
| $_POST | ||
| $_GET |
QUESTION 40
Many of the setcookie() function's arguments are optional.
True
False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
