Exam 9: Managing State Information

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A cookie is of no use if you do not specify the _______________ argument.

Free
(Short Answer)
4.8/5
(39)
Correct Answer:
Verified

value

The ____________________ argument determines the availability of a cookie to other Web pages on the server.

Free
(Short Answer)
4.7/5
(39)
Correct Answer:
Verified

path

Use PHP's ____________________ function to return the current time and add to it an integer in seconds to specify the time to delete the cookie.

Free
(Short Answer)
4.7/5
(36)
Correct Answer:
Verified

time()
time

The ____________________ function converts special characters in a text string to their corresponding hexadecimal ASCII value.

(Short Answer)
4.7/5
(38)

If a Web site stores no persistent data about a visit to a Web site, it is said to be ____________________.

(Short Answer)
4.9/5
(40)

The ____________________ function is used to return the current date and time as a formatted string.

(Short Answer)
4.9/5
(37)

Which of the following characters would encoding not encode?

(Multiple Choice)
4.9/5
(36)

You can use special characters in cookies created in PHP.

(True/False)
4.8/5
(38)

The setcookie() function can be called only once.

(True/False)
4.8/5
(40)

Maintaining state refers to storing persistent data about a Web site visit using hidden form fields, query strings, cookies and sessions.

(True/False)
4.8/5
(38)

In many programming languages, cookies cannot include special characters because they are transmitted between Web browsers and servers using ____________________.

(Short Answer)
4.8/5
(38)

By default, a cookie is not available to all Web pages in the same directory.

(True/False)
4.8/5
(42)

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.

(Multiple Choice)
4.9/5
(36)

The $_REQUEST[] autoglobal is always good choice to use as it contains all of the array elements of the $_GET[], $_POST[], and $_COOKIE autoglobal arrays.

(True/False)
4.9/5
(35)

Query strings permanently maintain state information.

(True/False)
4.7/5
(33)

The ____ argument determines the availability of a cookie to other Web pages on a server.

(Multiple Choice)
4.8/5
(30)

You use the ____________________ function to retrieve the session ID for the current session.

(Short Answer)
4.8/5
(45)

A query string is a set of name=value pairs appended to the end of a ____________________.

(Short Answer)
4.8/5
(39)

With a hidden form field you can only include the name and ____________________ attributes.

(Short Answer)
4.9/5
(35)

Web browsers can limit the total number of cookies stored on a user's computer to at least ____.

(Multiple Choice)
4.9/5
(33)
Showing 1 - 20 of 83
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)