Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Linked Data A Geographic Perspective

Authors: Glen Hart, Catherine Dolbear

1st Edition

1000218910, 9781000218916

More Books

Students also viewed these Databases questions

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago